Monaden / automatabuilder

application for building automata
MIT License
0 stars 0 forks source link

refactorisation #19

Closed almenjonatan closed 9 years ago

almenjonatan commented 9 years ago

removed: comment as the code was self-explanatory that it is the State class which is under test, and the test methods describe the functionallity

added: setUp method which is run before every test method. duplicate code could then be removed.

added: a build method which builds a state with one state. duplicate code could then be removed from testTransitions and toString method.