()
| 762 | |
| 763 | #[test] |
| 764 | fn test_add_root() { |
| 765 | let graph_op: GraphOp<Hash> = GraphOp::AddRoot { |
| 766 | name: test_new_vertex(), |
| 767 | inode: test_new_vertex(), |
| 768 | }; |
| 769 | |
| 770 | assert!(graph_op.is_root_operation()); |
| 771 | assert!(!graph_op.is_file_operation()); |
| 772 | assert_eq!(graph_op.path(), None); |
| 773 | } |
| 774 | |
| 775 | // Display Tests |
| 776 |
nothing calls this directly
no test coverage detected