From 6229c28243011eb2a6dcfff5b9341eeb461df84e Mon Sep 17 00:00:00 2001 From: Brandon Goodell Date: Mon, 23 Oct 2017 12:22:16 -0600 Subject: [PATCH] Update Spectre.py --- source-code/Spectre/Spectre.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/source-code/Spectre/Spectre.py b/source-code/Spectre/Spectre.py index 6e3d98c..a18b825 100644 --- a/source-code/Spectre/Spectre.py +++ b/source-code/Spectre/Spectre.py @@ -292,20 +292,6 @@ class Test_Spectre(unittest.TestCase): self.assertTrue(("3", "4") in vote) self.assertFalse(("4", "2") in vote) - block3 = Block(idIn="3", parentList=shepard.dag.leaves) - shepard.addBlock(block3) - vote = shepard.getVote() - for ov in oldVote: - self.assertTrue(ov in vote) - oldVote = copy.deepcopy(vote) - for key in vote: - print("key = ", key, " \t val = ", vote[key], "\n") - self.assertTrue(("0","1") in vote) - self.assertTrue(("1","2b") in vote) - self.assertTrue(("2b","2a") in vote) - self.assertTrue(("2a","3ab") in vote) - self.assertTrue(("3ab","3b") in vote) - self.assertFalse(("3b","1") in vote) suite = unittest.TestLoader().loadTestsFromTestCase(Test_Spectre) unittest.TextTestRunner(verbosity=1).run(suite)