MCPcopy Create free account
hub / github.com/davidblewett/rure-python / test_set_len

Method test_set_len

rure/tests/test_rureset.py:26–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 1

RureSetClass · 0.90

Tested by

no test coverage detected