mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Corrected method name.
This commit is contained in:
parent
1619441f87
commit
89b5c91a35
1 changed files with 5 additions and 5 deletions
|
@ -252,11 +252,11 @@ int main (int argc, char** argv)
|
|||
// bool getDigit (int&);
|
||||
t.diag ("Nibbler::getDigit");
|
||||
n = Nibbler ("12x");
|
||||
t.ok (n.getDigit (i), " '12x' : getdigit () -> true");
|
||||
t.is (i, 1, " '12x' : getdigit () -> 1");
|
||||
t.ok (n.getDigit (i), " '2x' : getdigit () -> true");
|
||||
t.is (i, 2, " '2x' : getdigit () -> 2");
|
||||
t.notok (n.getDigit (i), " 'x' : getdigit () -> false");
|
||||
t.ok (n.getDigit (i), " '12x' : getDigit () -> true");
|
||||
t.is (i, 1, " '12x' : getDigit () -> 1");
|
||||
t.ok (n.getDigit (i), " '2x' : getDigit () -> true");
|
||||
t.is (i, 2, " '2x' : getDigit () -> 2");
|
||||
t.notok (n.getDigit (i), " 'x' : getDigit () -> false");
|
||||
|
||||
// bool getInt (int&);
|
||||
t.diag ("Nibbler::getInt");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue