MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_double_max_until

Function test_double_max_until

crates/sre_engine/tests/tests.rs:76–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74
75#[test]
76fn test_double_max_until() {
77 // pattern p = re.compile(r'((1)?)*')
78 // START GENERATED by generate_tests.py
79 #[rustfmt::skip] let p = Pattern { pattern: "((1)?)*", code: &[14, 4, 0, 0, 4294967295, 23, 18, 0, 4294967295, 17, 0, 23, 9, 0, 1, 17, 2, 16, 49, 17, 3, 18, 17, 1, 18, 1] };
80 // END GENERATED
81 let (req, mut state) = p.state("1111");
82 assert!(state.py_match(&req));
83 assert_eq!(state.cursor.position, 4);
84}
85
86#[test]
87fn test_info_single() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected