Unit Tests
- Cleaned up color.t.cpp.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user