Skip to content

Commit 7cce2fa

Browse files
committed
Added more ! tests
1 parent 102f73b commit 7cce2fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/tests/symbolic_evaluation_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1869,6 +1869,7 @@ def test_sum_in_answer(self, response, answer, value):
18691869
("n!", "factorial(n)", True),
18701870
("a!=b", "factorial(3)", False),
18711871
("2*n!", "2*factorial(n)", True),
1872+
("3!", "3!", True)
18721873
]
18731874
)
18741875
def test_exclamation_mark_for_factorial(self, response, answer, value):
@@ -1887,6 +1888,7 @@ def test_exclamation_mark_for_factorial(self, response, answer, value):
18871888
("n!!", "factorial2(n)", True),
18881889
("a!=b", "factorial2(3)", False),
18891890
("2*n!!", "2*factorial2(n)", True),
1891+
("3!!", "3!!", True),
18901892
]
18911893
)
18921894
def test_double_exclamation_mark_for_factorial(self, response, answer, value):

0 commit comments

Comments
 (0)