MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_options_algorithm

Function test_options_algorithm

atomic-core/src/record/detect.rs:818–822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

816
817 #[test]
818 fn test_options_algorithm() {
819 let opts = DetectOptions::new().with_algorithm(Algorithm::Patience);
820
821 assert_eq!(opts.algorithm, Algorithm::Patience);
822 }
823
824 #[test]
825 fn test_options_check_mtime() {

Callers

nothing calls this directly

Calls 1

with_algorithmMethod · 0.45

Tested by

no test coverage detected