()
| 519 | |
| 520 | #[test] |
| 521 | fn test_trunk_is_binary() { |
| 522 | let trunk = make_trunk(); |
| 523 | assert!(!trunk.is_binary()); |
| 524 | |
| 525 | let binary_trunk = Trunk::new( |
| 526 | TrunkId::new(NodeId::new(1), 1), |
| 527 | Inode::new(43), |
| 528 | "image.png".to_string(), |
| 529 | Some(Encoding::Binary), |
| 530 | ); |
| 531 | assert!(binary_trunk.is_binary()); |
| 532 | } |
| 533 | |
| 534 | #[test] |
| 535 | fn test_trunk_set_state() { |
nothing calls this directly
no test coverage detected