Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(98)  |  Call(98)  |  Derive(0)  |  Import(0)

src/e/o/Eos-HEAD/tests/stat_tracker/damage/test_nominal_volley.py   Eos(Download)
        holder.get_nominal_volley.return_value = holder_volley
        stats_volley = self.st.get_nominal_volley()
        self.assertAlmostEqual(stats_volley.em, 1.2)
        self.assertAlmostEqual(stats_volley.thermal, 2.3)
        self.assertAlmostEqual(stats_volley.kinetic, 3.4)
        self.assertAlmostEqual(stats_volley.explosive, 4.5)
        self.assertAlmostEqual(stats_volley.total, 11.4)

src/e/o/Eos-HEAD/tests/stat_tracker/damage/test_nominal_dps.py   Eos(Download)
        holder.get_nominal_dps.return_value = holder_dps
        stats_dps = self.st.get_nominal_dps()
        self.assertAlmostEqual(stats_dps.em, 1.2)
        self.assertAlmostEqual(stats_dps.thermal, 2.3)
        self.assertAlmostEqual(stats_dps.kinetic, 3.4)
        self.assertAlmostEqual(stats_dps.explosive, 4.5)
        self.assertAlmostEqual(stats_dps.total, 11.4)