()
| 1027 | |
| 1028 | #[test] |
| 1029 | fn test_record_context_with_options() { |
| 1030 | let txn = MockTxn; |
| 1031 | let working_copy = Memory::new(); |
| 1032 | let change_store = MemoryChangeStore::new(); |
| 1033 | let view = ViewState::default(); |
| 1034 | |
| 1035 | let ctx = RecordContext::new(&txn, &view, &working_copy, &change_store) |
| 1036 | .with_options(DetectOptions::new().with_algorithm(Algorithm::Patience)); |
| 1037 | |
| 1038 | assert_eq!(ctx.options().algorithm, Algorithm::Patience); |
| 1039 | } |
| 1040 | |
| 1041 | #[test] |
| 1042 | fn test_record_context_into_builder() { |
nothing calls this directly
no test coverage detected