10 # Currently only testing the reset of patterns.
16 (shift =~ ?zlopp?) ? 1 : 0;
26 shift =~ ?ZZIP? ? 1 : 0;
35 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
36 is(aiieee::zlopp("zlopp"), 1, "match matches first time");
37 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
38 is(aiieee::zlopp("zlopp"), 0, "match doesn't match second time");
39 aiieee::reset_zlopp();
40 is(aiieee::zlopp("zlopp"), 1, "match matches after reset");
41 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
43 aiieee::reset_zlopp();
45 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
46 is(aiieee::zlopp("zlopp"), 1, "match matches first time");
47 is(CLINK::ZZIP(""), 0, "mismatch doesn't match");
48 is(CLINK::ZZIP("ZZIP"), 1, "match matches first time");
49 is(CLINK::ZZIP(""), 0, "mismatch doesn't match");
50 is(CLINK::ZZIP("ZZIP"), 0, "match doesn't match second time");
51 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
52 is(aiieee::zlopp("zlopp"), 0, "match doesn't match second time");
54 aiieee::reset_zlopp();
55 is(aiieee::zlopp("zlopp"), 1, "match matches after reset");
56 is(aiieee::zlopp(""), 0, "mismatch doesn't match");
58 is(CLINK::ZZIP(""), 0, "mismatch doesn't match");
59 is(CLINK::ZZIP("ZZIP"), 0, "match doesn't match third time");
62 is(CLINK::ZZIP("ZZIP"), 1, "match matches after reset");
63 is(CLINK::ZZIP(""), 0, "mismatch doesn't match");