tests: add more cases for bool
This commit is contained in:
parent
7b1746ef83
commit
a8c124aabc
1 changed files with 2 additions and 0 deletions
|
@ -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)| {
|
||||
|
|
Reference in a new issue