Unit Tests

- Cleaned up color.t.cpp.
This commit is contained in:
Paul Beckingham 2015-03-07 12:14:39 -05:00
parent 70c3d9845c
commit e3ec52f6ca

View file

@ -36,11 +36,7 @@ Context context;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv) int main (int argc, char** argv)
{ {
UnitTest t (1036); UnitTest t (40 + 256 + 256 + 6*6*6 + 6*6*6 + 1 + 24 + 24 + 3);
// Ensure environment has no influence.
unsetenv ("TASKDATA");
unsetenv ("TASKRC");
// Names matched to values. // Names matched to values.
t.is ((int) Color (""), (int) Color (Color::nocolor), "'' == Color::nocolor"); t.is ((int) Color (""), (int) Color (Color::nocolor), "'' == Color::nocolor");