Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fja
eval
Commits
cd0fb1f1
Commit
cd0fb1f1
authored
Mar 13, 2020
by
Kateřina Sloupová
Browse files
reports all types of mistakes at once
parent
cdcda863
Pipeline
#55288
failed with stage
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
fja_checker.py
View file @
cd0fb1f1
...
...
@@ -90,10 +90,11 @@ def main():
exit
(
1
)
result
=
student_dfa
.
is_equivalent
(
teacher_dfa
)
if
result
and
check_task
(
student_dfa
,
task
):
if
check_task
(
student_dfa
,
task
)
and
result
:
print
(
"Správné řešení."
)
exit
(
0
)
elif
not
result
:
if
not
result
:
student_word
,
teacher_word
=
result
.
left_counterexample
,
result
.
right_counterexample
if
student_word
is
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment