ObjFW  Check-in [67225c4644]

Overview
Comment:OFINIFileTests: Fix a warning when using Apple GCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 67225c4644d40a7dc826f29a7634fb4d15fa175eaef5726f9f9684a4e7ccab17
User & Date: js on 2014-02-18 23:02:57
Other Links: manifest | tags
Context
2014-02-19
11:17
OFINICategory: Add missing -[setName:] and -[name] check-in: e6ff688bf4 user: js tags: trunk
2014-02-18
23:02
OFINIFileTests: Fix a warning when using Apple GCC check-in: 67225c4644 user: js tags: trunk
18:50
Documentation: Show correct imports check-in: 246cfe0807 user: js tags: trunk
Changes

Modified tests/OFINIFileTests.m from [4aad3ec697] to [44c1f538da].

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
		    defaultValue: false] == true)

	TEST(@"-[setBool:forKey:]", R([category setBool: false
						 forKey: @"bool"]))

	TEST(@"-[floatForKey:defaultValue:]",
	    [category floatForKey: @"float"
		     defaultValue: 1] == 0.5)

	TEST(@"-[setFloat:forKey:]", R([category setFloat: 0.25
						   forKey: @"float"]))

	TEST(@"-[doubleForKey:defaultValue:]",
	    [category doubleForKey: @"double"
		      defaultValue: 3] == 0.25)

	TEST(@"-[setDouble:forKey:]", R([category setDouble: 0.75







|

|







85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
		    defaultValue: false] == true)

	TEST(@"-[setBool:forKey:]", R([category setBool: false
						 forKey: @"bool"]))

	TEST(@"-[floatForKey:defaultValue:]",
	    [category floatForKey: @"float"
		     defaultValue: 1] == 0.5f)

	TEST(@"-[setFloat:forKey:]", R([category setFloat: 0.25f
						   forKey: @"float"]))

	TEST(@"-[doubleForKey:defaultValue:]",
	    [category doubleForKey: @"double"
		      defaultValue: 3] == 0.25)

	TEST(@"-[setDouble:forKey:]", R([category setDouble: 0.75