Fixed indentation

This commit is contained in:
IrgendwerA8
2017-02-26 22:36:19 +01:00
parent c240d42a9e
commit 3d28f5ca90
4 changed files with 66 additions and 67 deletions

View File

@@ -3,7 +3,7 @@
#define SourceStringSize 257 // test correct page passing (>256)
static char SourceString[SourceStringSize+1]; // +1 room for terminating null
static char SourceString[SourceStringSize+1]; // +1 room for terminating null
static char DestinationString[2*SourceStringSize+1]; // will contain two times the source buffer
@@ -48,7 +48,7 @@ TEST
unsigned position = j*SourceStringSize+i;
unsigned current = DestinationString[position];
unsigned expected = (i%128)+1;
ASSERT_AreEqual(expected, current, "%u", "Unexpected destination buffer contents at position %u!\n" COMMA position);
ASSERT_AreEqual(expected, current, "%u", "Unexpected destination buffer contents at position %u!\n" COMMA position);
}
}
ENDTEST

View File

@@ -1,7 +1,7 @@
#include <unittest.h>
#include <string.h>
static char TestString[] = "01234567890123456789"; // two times the same string
static char TestString[] = "01234567890123456789"; // two times the same string
static char Found[256];
TEST
@@ -10,7 +10,7 @@ TEST
unsigned i;
char* p;
len = strlen(TestString)/2; // test only one half of the string, to find last appearance
len = strlen(TestString)/2; // test only one half of the string, to find last appearance
/* Search for all characters in the string, including the terminator */
for (i = 0; i < len; ++i)