reset countdown after each assert
This commit is contained in:
parent
396d9418fe
commit
1b567e3aef
1 changed files with 4 additions and 0 deletions
|
@ -19,10 +19,14 @@ TEST_START()
|
|||
ss >> c;
|
||||
assert(c == Countdown::NONE, "failed to parse enum all lowercase");
|
||||
|
||||
c = Countdown::NORMAL;
|
||||
|
||||
ss = std::stringstream("nOnE");
|
||||
ss >> c;
|
||||
assert(c == Countdown::NONE, "failed to parse enum mixed case #1");
|
||||
|
||||
c = Countdown::NORMAL;
|
||||
|
||||
ss = std::stringstream("NoNe");
|
||||
ss >> c;
|
||||
assert(c == Countdown::NONE, "failed to parse enum mixed case #2");
|
||||
|
|
Loading…
Reference in a new issue