|
|
|
@ -92,6 +92,13 @@ fn engine_option_string() {
|
|
|
|
|
option_data: option_data1, |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
let expected = "option name hash type spin default 1 min 1 max 128"; |
|
|
|
|
let expected = "option name hash type spin default 1 min 1 max 128\n"; |
|
|
|
|
assert_eq!(o.option_string(), expected); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[test] |
|
|
|
|
fn send_available_engine_options() { |
|
|
|
|
// This should send two to three options and check the string in the
|
|
|
|
|
// buffer to make sure it's correct.
|
|
|
|
|
assert_eq!(true, false); |
|
|
|
|
} |
|
|
|
|