def testECGroup(self):
        trials = 10
        group = ECGroup(prime192v2)
        g = group.random(G)
        h = group.random(G)
        i = group.random(G)

        self.assertTrue(group.InitBenchmark())
        group.StartBenchmark(["RealTime", "Mul", "Div", "Exp", "Granular"])
        for a in range(trials):
            j = g * h
            k = h**group.random(ZR)
            t = (j**group.random(ZR)) / k
        group.EndBenchmark()

        msmtDict = group.GetGeneralBenchmarks()
        self.assertTrue(isSaneBenchmark(msmtDict))

        granDict = group.GetGranularBenchmarks()
        self.assertTrue(isSaneBenchmark(granDict))

        self.assertTrue(group.InitBenchmark())
        group.StartBenchmark(["RealTime", "Mul", "Div", "Exp", "Granular"])
        for a in range(trials * 2):
            j = g * h
            k = h**group.random(ZR)
            t = (j**group.random(ZR)) / k
        group.EndBenchmark()

        msmtDict = group.GetGeneralBenchmarks()
        granDict = group.GetGranularBenchmarks()
        del group
        self.assertTrue(isSaneBenchmark(msmtDict))
        self.assertTrue(isSaneBenchmark(granDict))