예제 #1
0
 def test_setPosition(self):
     package = Package(0, 0)
     package.setPosition(1)
     self.assertTrue(package.getPosition() == 1)
예제 #2
0
 def test_getPosition(self):
     package = Package(0, 0)
     self.assertTrue(package.getPosition() == 0)