Refining boundary value generator.

This commit is contained in:
Markus Kauppila 2011-08-03 20:43:32 +03:00
parent c2b70264ed
commit e45c8d7526
3 changed files with 151 additions and 43 deletions

View file

@ -91,10 +91,18 @@ dummycase1(void *arg)
{
AssertEquals(5, 5, "Assert message");
for(; 0 ;) {
Log(0, "uint8: %d", RandomUint8BoundaryValue());
Log(0, "int8: %d", RandomInt8BoundaryValue());
/*
for( ; 1 ; )
Log(0, "uint8 (same value): %u", RandomPositiveInteger());
// */
//Log(0, "uint8 (same value): %d", RandomUint8BoundaryValue(200, 200, SDL_TRUE));
for(; 1 ;) {
Log(0, "uint8: %u", RandomUint8BoundaryValue(10, 20, SDL_FALSE));
//Log(0, "int8: %d", RandomInt8BoundaryValue());
}
for(; 0 ;) {