()
| 530 | |
| 531 | #[test] |
| 532 | fn test_clone() { |
| 533 | let line1 = Line::new(b"hello\n"); |
| 534 | let line2 = line1.clone(); |
| 535 | assert_eq!(line1, line2); |
| 536 | assert_eq!(line1.hash_value(), line2.hash_value()); |
| 537 | } |
| 538 | |
| 539 | #[test] |
| 540 | fn test_hash_in_hashset() { |