()
| 627 | |
| 628 | #[test] |
| 629 | fn zero_index_fast_path() { |
| 630 | let mut e = make_engine(); |
| 631 | let n = now(); |
| 632 | |
| 633 | // No indexes — PUT should work without index overhead. |
| 634 | assert!(!e.has_indexes(1, "c")); |
| 635 | e.put(1, "c", b"k", b"raw_value", 0, n, Surrogate::ZERO); |
| 636 | assert!(e.get(1, "c", b"k", n).is_some()); |
| 637 | assert_eq!(e.write_amp_ratio(1, "c"), 0.0); |
| 638 | } |
| 639 | |
| 640 | #[test] |
| 641 | fn drop_index_clears_entries() { |
nothing calls this directly
no test coverage detected