Przeglądaj źródła

simplified a unit test.

Taddeus Kroes 14 lat temu
rodzic
commit
ab2c06a884
1 zmienionych plików z 1 dodań i 4 usunięć
  1. 1 4
      tests/test_rules_goniometry.py

+ 1 - 4
tests/test_rules_goniometry.py

@@ -6,12 +6,9 @@ from tests.rulestestcase import RulesTestCase, tree
 class TestRulesGoniometry(RulesTestCase):
 
     def test_match_add_quadrants(self):
-        return
         root = tree('sin(x) ^ 2 + cos(x) ^ 2')
         possibilities = match_add_quadrants(root)
         self.assertEqualPos(possibilities, [P(root, add_quadrants, ())])
 
     def test_add_quadrants(self):
-        return
-        root = tree('sin(x) ^ 2 + cos(x) ^ 2')
-        self.assertEqual(add_quadrants(root, ()), 1)
+        self.assertEqual(add_quadrants(None, ()), 1)