diff options
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r-- | yaksh/evaluator_tests/test_c_cpp_evaluation.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py index 17f7c82..14ed808 100644 --- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py +++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py @@ -106,7 +106,6 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): for error in errors: self.assertEqual(error['exception'], 'AssertionError') - def test_compilation_error(self): # Given user_answer = "int add(int a, int b)\n{return a+b}" @@ -281,6 +280,7 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest): for error in errors: self.assertEqual(error['exception'], 'TestCaseError') + class CppStdIOEvaluationTestCases(EvaluatorBaseTest): def setUp(self): self.test_case_data = [{'expected_output': '11', @@ -439,7 +439,6 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest): for error in errors: self.assertEqual(error['exception'], 'CompilationError') - def test_infinite_loop(self): # Given user_answer = dedent(""" |