data_to_text.rs: change from . as unrecognized character to ' ' demo.rs: improves POC display of headers tests/primitive_formatting.rs: initial tests of bool formatting
8 lines
238 B
Rust
8 lines
238 B
Rust
use trevors_utilities::primitive_formatting;
|
|
|
|
#[test]
|
|
fn test_primitive_bool() {
|
|
assert_eq!("1".to_string(), primitive_formatting::bool_to_string(true));
|
|
assert_eq!("0".to_string(), primitive_formatting::bool_to_string(false));
|
|
}
|