(self)
| 24 | self.assertEqual(res.matches(haystack), [False, True, True]) |
| 25 | |
| 26 | def test_set_len(self): |
| 27 | res = RureSet(b"baz", b"bar", b"foo") |
| 28 | self.assertEqual(len(res), 3) |
| 29 | |
| 30 | def test_flags(self): |
| 31 | """Test whether we can set the flags correctly. |