Esempio n. 1
0
 def test_add(self):
     ps = PlaceSet()
     ps.add(self.place)
     if self.place in ps.s:
         x = True
     else:
         x = False
     self.assertTrue(x)
Esempio n. 2
0
 def test_showAll(self):
     ps = PlaceSet()
     ps.showAll()
Esempio n. 3
0
 def test_has(self):
     ps = PlaceSet()
     self.assertTrue(ps.has(self.place))
Esempio n. 4
0
 def test_init(self):
     ps = PlaceSet()
     self.assertIsNotNone(ps.s)