()
| 1234 | |
| 1235 | #[test] |
| 1236 | fn test_binary_file() { |
| 1237 | let graph_op: GraphOp<Hash> = GraphOp::FileAdd { |
| 1238 | add_name: test_new_vertex(), |
| 1239 | add_inode: test_new_vertex(), |
| 1240 | contents: Some(test_new_vertex()), |
| 1241 | path: "image.png".to_string(), |
| 1242 | encoding: Some(Encoding::Binary), |
| 1243 | }; |
| 1244 | |
| 1245 | assert_eq!(graph_op.encoding(), Some(Encoding::Binary)); |
| 1246 | } |
| 1247 | |
| 1248 | #[test] |
| 1249 | fn test_all_hunk_types_have_type_name() { |
nothing calls this directly
no test coverage detected