Skip to content

Commit f956890

Browse files
committed
Added another factorial test
1 parent 4abbfed commit f956890

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/tests/symbolic_evaluation_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,8 @@ 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)
1872+
("3!", "3!", True),
1873+
("3*sin(n)!", "3*factorial(sin(n))", True)
18731874
]
18741875
)
18751876
def test_exclamation_mark_for_factorial(self, response, answer, value):

0 commit comments

Comments
 (0)