-// temporarily disable optimizations altogether until a fine grain control
-// is implemented on Makefile level only disabling the compiler option -Os
-#pragma optimize (off)
-
#include <string.h>
#include "unittest.h"
static char* EmptyTestChars=""; // strlen equivalent...
static char* TestChars="1234567890"; // we like to find numbers
+
TEST
{
unsigned i;
ASSERT_AreEqual(strlen(EstimatedString), strcspn(EstimatedString, EmptyTestChars), "%u", "Unxpected position returned for empty test case!");
}
ENDTEST
-
-