From 6c149d3fceb5055b60ab4bd48109a2200ee2c1bd Mon Sep 17 00:00:00 2001 From: erikkaum Date: Mon, 30 Sep 2024 12:07:24 +0200 Subject: [PATCH] test reduced --- src/interegular/fsm.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/interegular/fsm.rs b/src/interegular/fsm.rs index ffb276d4..4d5b594e 100644 --- a/src/interegular/fsm.rs +++ b/src/interegular/fsm.rs @@ -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]