()
| 493 | |
| 494 | #[test] |
| 495 | fn test_trunk_is_binary() { |
| 496 | let trunk = make_trunk(); |
| 497 | assert!(!trunk.is_binary()); |
| 498 | |
| 499 | let binary_trunk = Trunk::new( |
| 500 | TrunkId::new(NodeId::new(1), 1), |
| 501 | Inode::new(43), |
| 502 | "image.png".to_string(), |
| 503 | Some(Encoding::Binary), |
| 504 | ); |
| 505 | assert!(binary_trunk.is_binary()); |
| 506 | } |
| 507 | |
| 508 | #[test] |
| 509 | fn test_trunk_set_state() { |
nothing calls this directly
no test coverage detected