Exemplo n.º 1
0
 def test_unique(self):
     # Assert list copy with unique items.
     v = graph.unique([1, 1, 1])
     self.assertEqual(len(v), 1)
     self.assertEqual(v[0], 1)
     print "pattern.graph.unique()"
Exemplo n.º 2
0
 def test_unique(self):
     # Assert list copy with unique items.
     v = graph.unique([1,1,1])
     self.assertEqual(len(v), 1)
     self.assertEqual(v[0], 1)
     print "pattern.graph.unique()"