()
| 1095 | |
| 1096 | #[test] |
| 1097 | fn test_memory_path_to_node_id() { |
| 1098 | let project = ProjectId::generate(); |
| 1099 | assert_eq!( |
| 1100 | memory_path_to_node_id(&project, "memory/architecture.md"), |
| 1101 | Some(iri::mint_memory(&project, "architecture")) |
| 1102 | ); |
| 1103 | assert_eq!( |
| 1104 | memory_path_to_node_id(&project, "intents/x/intent.md"), |
| 1105 | None |
| 1106 | ); |
| 1107 | } |
| 1108 | |
| 1109 | #[test] |
| 1110 | fn test_rank_score_decreases() { |
nothing calls this directly
no outgoing calls
no test coverage detected