示例#1
0
 def test_check_answer(self):
     t = cg_test.BaseTask()
     with pytest.raises(NotImplementedError):
         t.check_answer(None)
示例#2
0
 def test_read_answer_from_file(self):
     t = cg_test.BaseTask()
     with pytest.raises(NotImplementedError):
         t.read_answer_from_file(None)
示例#3
0
 def test_write_task_to_file(self):
     t = cg_test.BaseTask()
     with pytest.raises(NotImplementedError):
         t.write_task_to_file(None)
示例#4
0
 def test_complexity(self):
     t = cg_test.BaseTask()
     with pytest.raises(NotImplementedError):
         t.complexity()
示例#5
0
 def test_size(self):
     t = cg_test.BaseTask()
     with pytest.raises(NotImplementedError):
         t.size()
示例#6
0
 def test_init(self):
     cg_test.BaseTask()