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