()
| 469 | |
| 470 | #[test] |
| 471 | fn test_equals_lenient() { |
| 472 | let line1 = Line::new(b"hello\n"); |
| 473 | let line2 = Line::new(b"hello"); |
| 474 | // Lenient comparison: same content |
| 475 | assert!(line1.equals(&line2, false)); |
| 476 | // Strict comparison: different |
| 477 | assert!(!line1.equals(&line2, true)); |
| 478 | } |
| 479 | |
| 480 | #[test] |
| 481 | fn test_hash_consistency() { |
nothing calls this directly
no outgoing calls
no test coverage detected