()
| 1046 | |
| 1047 | #[test] |
| 1048 | fn test_add_root() { |
| 1049 | let graph_op: GraphOp<Hash> = GraphOp::AddRoot { |
| 1050 | name: test_new_vertex(), |
| 1051 | inode: test_new_vertex(), |
| 1052 | }; |
| 1053 | |
| 1054 | assert!(graph_op.is_root_operation()); |
| 1055 | assert!(!graph_op.is_file_operation()); |
| 1056 | assert_eq!(graph_op.path(), None); |
| 1057 | } |
| 1058 | |
| 1059 | // Display Tests |
| 1060 |
nothing calls this directly
no test coverage detected