Ejemplo 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)
Ejemplo n.º 2
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)
Ejemplo n.º 3
0
 def test_showAll(self):
     ps = PlaceSet()
     ps.showAll()
Ejemplo n.º 4
0
 def test_has(self):
     ps = PlaceSet()
     self.assertTrue(ps.has(self.place))
Ejemplo n.º 5
0
 def test_init(self):
     ps = PlaceSet()
     self.assertIsNotNone(ps.s)
Ejemplo n.º 6
0
 def test_showAll(self):
     ps = PlaceSet()
     ps.showAll()
Ejemplo n.º 7
0
 def test_has(self):
     ps = PlaceSet()
     self.assertTrue(ps.has(self.place))