ObjFW  Diff

Differences From Artifact [e7c58a38d5]:

To Artifact [6659b80a48]:


19
20
21
22
23
24
25

26

27
28
29
30
31
32
33

#include <stdlib.h>
#include <string.h>
#include <math.h>

#import "TestsAppDelegate.h"


#import "OFMutableString_UTF8.h"


static OFString *module = nil;
static OFString *whitespace[] = {
	@" \r \t\n\t \tasd  \t \t\t\r\n",
	@" \t\t  \t\t  \t \t"
};
static of_unichar_t ucstr[] = {







>
|
>







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

#include <stdlib.h>
#include <string.h>
#include <math.h>

#import "TestsAppDelegate.h"

#import "OFString.h"
#import "OFMutableUTF8String.h"
#import "OFUTF8String.h"

static OFString *module = nil;
static OFString *whitespace[] = {
	@" \r \t\n\t \tasd  \t \t\t\r\n",
	@" \t\t  \t\t  \t \t"
};
static of_unichar_t ucstr[] = {
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
- (void)stringTests
{
	module = @"OFString";
	[self stringTestsWithClass: [SimpleString class]
		      mutableClass: [SimpleMutableString class]];

	module = @"OFString_UTF8";
	[self stringTestsWithClass: [OFString_UTF8 class]
		      mutableClass: [OFMutableString_UTF8 class]];
}
@end







|
|


1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
- (void)stringTests
{
	module = @"OFString";
	[self stringTestsWithClass: [SimpleString class]
		      mutableClass: [SimpleMutableString class]];

	module = @"OFString_UTF8";
	[self stringTestsWithClass: [OFUTF8String class]
		      mutableClass: [OFMutableUTF8String class]];
}
@end