()
| 359 | |
| 360 | #[test] |
| 361 | fn test_local_byte_new() { |
| 362 | let local = LocalByte::new("data.bin", 0, 1024); |
| 363 | assert_eq!(local.path, "data.bin"); |
| 364 | assert_eq!(local.line, 0); |
| 365 | assert_eq!(local.byte, 1024); |
| 366 | assert!(local.inode.is_none()); |
| 367 | } |
| 368 | |
| 369 | #[test] |
| 370 | fn test_local_byte_with_inode() { |
nothing calls this directly
no outgoing calls
no test coverage detected