Add Debug unit test to check bassert behavior

This commit is contained in:
Vinnie Falco
2013-09-06 07:41:04 -07:00
parent 7a7514fa0c
commit 5f6e2ee026

View File

@@ -293,3 +293,22 @@ String commandLineToString (const String& commandLine)
}
}
//------------------------------------------------------------------------------
class DebugTests : public UnitTest
{
public:
DebugTests () : UnitTest ("Debug", "beast", runManual)
{
}
void runTest ()
{
beginTestCase ("bassert");
bassertfalse;
fail ();
}
};
static DebugTests debugTests;