def test_move(self): c = (0, 0, 0) t = Triangle([0, 0, 10, 0, 10, 10], c, 255) t.move(18, 9) self.assertEqual([18, 9, 28, 9, 28, 19], t.coordinates)