mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Nibbler: Removed unused ::getDigit6 method
This commit is contained in:
parent
88469fc5f9
commit
119827e4e1
3 changed files with 1 additions and 31 deletions
|
@ -35,7 +35,7 @@ Context context;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int, char**)
|
||||
{
|
||||
UnitTest t (254);
|
||||
UnitTest t (252);
|
||||
|
||||
// Ensure environment has no influence.
|
||||
unsetenv ("TASKDATA");
|
||||
|
@ -219,12 +219,6 @@ int main (int, char**)
|
|||
t.is (i, 2, " '2x' : getDigit () -> 2");
|
||||
t.notok (n.getDigit (i), " 'x' : getDigit () -> false");
|
||||
|
||||
// bool getDigit6 (int&);
|
||||
t.diag ("Nibbler::getDigit6");
|
||||
n = Nibbler ("654321");
|
||||
t.ok (n.getDigit6 (i), " 654321 : getDigit6 () -> true");
|
||||
t.is (i, 654321, " 654321 : getDigit6 () -> 654321");
|
||||
|
||||
// bool getDigit4 (int&);
|
||||
t.diag ("Nibbler::getDigit4");
|
||||
n = Nibbler ("4321");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue