Пример #1
0
class CompleteGraphTestCase(unittest.TestCase):
    
    def setUp(self):
        self.cg = CompleteGraph(nodes_generator(12))
        self.cg.connect_nodes()
        
    def testChannelCount(self):
        self.assertEqual(66, self.cg.channel_count())
    
    def tearDown(self):
        self.cg = None
Пример #2
0
 def setUp(self):
     self.cg = CompleteGraph(nodes_generator(12))
     self.cg.connect_nodes()