tests: add more cases for bool

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-22 23:11:09 +03:00
parent 7b1746ef83
commit a8c124aabc
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -135,6 +135,7 @@ mod tests {
let en = TestCase::<7>.to_string();
[
("1", true),
("y", true),
("yes", true),
("true", true),
@ -142,6 +143,7 @@ mod tests {
("on", true),
("false", false),
("f", false),
("0", false),
]
.iter()
.for_each(|(val, expected)| {