diff options
author | adityacp | 2016-07-28 00:12:51 +0530 |
---|---|---|
committer | adityacp | 2016-07-28 00:12:51 +0530 |
commit | 9411ab221e007a6c3e2901ce34f38f2267288b6e (patch) | |
tree | c1a66cc09e0fd7a4c236e40774496c0a628f9807 /yaksh | |
parent | e340b564d886501d36fa738e135ccb8e07645f4d (diff) | |
download | online_test-9411ab221e007a6c3e2901ce34f38f2267288b6e.tar.gz online_test-9411ab221e007a6c3e2901ce34f38f2267288b6e.tar.bz2 online_test-9411ab221e007a6c3e2901ce34f38f2267288b6e.zip |
rebase changes and changed expected input format in cpp tests
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/evaluator_tests/test_c_cpp_evaluation.py | 2 | ||||
-rw-r--r-- | yaksh/test_views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py index a2fc51f..ff3cddf 100644 --- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py +++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py @@ -82,7 +82,7 @@ class CppStdioEvaluationTestCases(unittest.TestCase): def test_array_input(self): self.test_case_data = [{'expected_output': '561', - 'expected_input': '5,6,1'}] + 'expected_input': '5\n6\n1'}] user_answer = dedent(""" #include<stdio.h> int main(void){ diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 6e59e26..2544276 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -8,7 +8,7 @@ from django.test import Client from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\ - StdoutBasedTestCase, has_profile + StdioBasedTestCase, has_profile class TestProfile(TestCase): |