def testCircularRange(self):
        self.assertAlmostEqual(ga._circularRange(10, -np.pi, np.pi),10-4*np.pi)
        self.assertAlmostEqual(ga._circularRange(50.77, -np.pi, np.pi),16*np.pi-50.77)
        self.assertAlmostEqual(ga._circularRange(-10, -np.pi, np.pi),-10+4*np.pi)
        self.assertAlmostEqual(ga._circularRange(-50.77, -np.pi, np.pi),-50.77+16*np.pi)
        self.assertAlmostEqual(ga._circularRange(-1.54, -np.pi, np.pi),-1.54)
        self.assertAlmostEqual(ga._circularRange(0.5, -np.pi, np.pi),0.5)
dataset/ETHPy150Open bolme/pyvision/src/pyvision/optimize/testsuite.py/GeneticAlgorithmTest.testCircularRange/swapped operands of `-`