Skip to content

Commit f88081b

Browse files
committed
Add some test cases to test new docs features
1 parent 0c3d1b2 commit f88081b

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

eval_tests.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,18 @@ tests:
5252
response: "~(~(~A | ~B) | ~(A | B))"
5353
expected_result:
5454
is_correct: yes
55-
55+
- description: "A few examples using de Morgan's laws:"
56+
answer: "A | (B & C)"
57+
sub_tests:
58+
- response: ~(~A & ~(B & C))
59+
expected_result:
60+
is_correct: yes
61+
- response: "A | ~(~B | ~C)"
62+
expected_result:
63+
is_correct: yes
64+
- description: You shouldn't see this one in the docs, but it is still a functional test
65+
answer: "A | B"
66+
response: "~(~A & ~B)"
67+
exclude_from_docs: yes
68+
expected_result:
69+
is_correct: yes

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)