Skip to content

Commit

Permalink
Added cases to Transition.getEntrySet, Transition.getExitSet.
Browse files Browse the repository at this point in the history
  • Loading branch information
clnhlzmn committed Mar 24, 2021
1 parent 552ab70 commit ff41b2e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ internal class TransitionTest {
assertEquals(listOf(s12, s122), transition.getEntrySet())
transition = Transition(s111, s21)
assertEquals(listOf(s2, s21), transition.getEntrySet())
transition = Transition(s111, s111)
assertEquals(listOf(s111), transition.getEntrySet())
}

@Test
Expand All @@ -27,5 +29,7 @@ internal class TransitionTest {
assertEquals(listOf(s111, s11), transition.getExitSet())
transition = Transition(s111, s21)
assertEquals(listOf(s111, s11, s1), transition.getExitSet())
transition = Transition(s111, s111)
assertEquals(listOf(s111), transition.getExitSet())
}
}

0 comments on commit ff41b2e

Please sign in to comment.