popraw test task1

This commit is contained in:
B. Piatek 2020-01-25 09:25:34 +01:00
parent e8d2b56ad2
commit eec700eb39

View File

@ -1,5 +1,2 @@
from automata.deterministic_automaton import DeterministicAutomaton def is_initial_state_a_final_one(automaton) -> bool:
def is_initial_state_a_final_one(automaton: DeterministicAutomaton):
return automaton.is_final_state(automaton.get_initial_state()) return automaton.is_final_state(automaton.get_initial_state())