We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ef93f commit 279af54Copy full SHA for 279af54
1 file changed
tests/test_ai_tutor.py
@@ -99,6 +99,17 @@ def msg(explanation_in:str) -> str:
99
return d[explanation_in].lower()
100
101
102
+def test_get_directive(explanation_in:str, homework:Tuple[str]):
103
+ result = ai_tutor.get_directive(explanation_in=explanation_in)
104
+
105
+ assert any(
106
+ map(
107
+ lambda x: x in result.lower(),
108
+ homework
109
+ )
110
111
112
113
def test_get_instruction(explanation_in:str, homework:Tuple[str],):
114
result = ai_tutor.get_directive(explanation_in=explanation_in)
115
0 commit comments