()
| 1046 | |
| 1047 | #[test] |
| 1048 | fn test_record_context_with_options() { |
| 1049 | let txn = MockTxn; |
| 1050 | let working_copy = Memory::new(); |
| 1051 | let change_store = MemoryChangeStore::new(); |
| 1052 | let view = ViewState::default(); |
| 1053 | |
| 1054 | let ctx = RecordContext::new(&txn, &view, &working_copy, &change_store) |
| 1055 | .with_options(DetectOptions::new().with_algorithm(Algorithm::Patience)); |
| 1056 | |
| 1057 | assert_eq!(ctx.options().algorithm, Algorithm::Patience); |
| 1058 | } |
| 1059 | |
| 1060 | #[test] |
| 1061 | fn test_record_context_into_builder() { |
nothing calls this directly
no test coverage detected