コード例 #1
0
 def test_setDestination(self):
     package = Package(0, 0)
     package.setDestination(1)
     self.assertTrue(package.getDestination() == 1)
コード例 #2
0
 def test_getDestination(self):
     package = Package(0, 0)
     self.assertTrue(package.getDestination() == 0)