()
| 605 | |
| 606 | #[test] |
| 607 | fn bloom_insert_and_query() { |
| 608 | let values = ["hello", "world", "foo"]; |
| 609 | let bloom = build_bloom(&values); |
| 610 | assert!(bloom_may_contain(&bloom, "hello")); |
| 611 | assert!(bloom_may_contain(&bloom, "world")); |
| 612 | assert!(bloom_may_contain(&bloom, "foo")); |
| 613 | } |
| 614 | |
| 615 | #[test] |
| 616 | fn bloom_absent_value_rejected() { |
nothing calls this directly
no test coverage detected