瀏覽代碼

simplified a unit test.

Taddeus Kroes 14 年之前
父節點
當前提交
ab2c06a884
共有 1 個文件被更改,包括 1 次插入4 次删除
  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)