Did I find the right examples for you? yes no

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

src/c/y/cyn.in-HEAD/products/ATRatings/tests/testRatingsTool.py   cyn.in(Download)
        self.assertEqual(rt.getRatingSum(foo.UID()), 1)
        self.assertEqual(rt.getRatingSumSquared(foo.UID()), 1)
        self.assertAlmostEqual(rt.getRatingMean(foo.UID()), 1.0)
        self.assertAlmostEqual(rt.getRatingStdDev(foo.UID()), 0.0)
 
        self.assertEqual(rt.getTotalRatingCount(), 1)
        self.assertEqual(rt.getRatingMeanCount(), 1)
        self.assertEqual(rt.getRatingMeanSum(), 1)
        self.assertEqual(rt.getRatingMeanSumSquared(), 1)
        self.assertAlmostEqual(rt.getRatingMeanMean(), 1.0)
        self.assertEqual(rt.getRatingMeanSumSquared(), 1)
        self.assertAlmostEqual(rt.getRatingMeanMean(), 1.0)
        self.assertAlmostEqual(rt.getRatingMeanVariance(), 0.0)
        self.assertAlmostEqual(rt.getRatingMeanStdDev(), 0.0)