Skip to content

Commit

Permalink
test reduced
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikKaum authored and brandonwillard committed Sep 30, 2024
1 parent c9464ab commit 6c149d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/interegular/fsm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,9 @@ mod tests {
assert!(fsm.accepts(&['a', 'b', 'b']));
assert!(fsm.accepts(&['a', 'b', 'b', 'b']));

assert!(!fsm.accepts(&['a', 'a', 'a']));
assert!(!fsm.accepts(&['b']));
assert!(!fsm.accepts(&['a', 'b', 'a', 'b', 'b']));
assert!(!reduced.accepts(&['a', 'a', 'a']));
assert!(!reduced.accepts(&['b']));
assert!(!reduced.accepts(&['a', 'b', 'a', 'b', 'b']));
}

#[test]
Expand Down

0 comments on commit 6c149d3

Please sign in to comment.