def test_halfBreakingNoCornering(self): plotter = GPlotter(320, 200, 2, 2) x, y = plotter.plotG(0, 1) self.assertEqual(160, x) self.assertEqual(150, y)
def test_centerPoint(self): plotter = GPlotter(320, 200, 2, 2) x, y = plotter.plotG(0, 0) self.assertEqual(160, x) self.assertEqual(100, y)