Author: rfm
Date: Thu Apr  7 08:21:50 2016
New Revision: 39641

URL: http://svn.gna.org/viewcvs/gnustep?rev=39641&view=rev
Log:
added test for BOOL (should be same as char normally)

Modified:
    libs/base/trunk/Tests/base/coding/basictypes.m

Modified: libs/base/trunk/Tests/base/coding/basictypes.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Tests/base/coding/basictypes.m?rev=39641&r1=39640&r2=39641&view=diff
==============================================================================
--- libs/base/trunk/Tests/base/coding/basictypes.m      (original)
+++ libs/base/trunk/Tests/base/coding/basictypes.m      Thu Apr  7 08:21:50 2016
@@ -154,6 +154,7 @@
 #define VAL_TEST(testx, testy) EQ(testx,testy)
 TEST_DECL(float, float);
 TEST_DECL(double, double);
+TEST_DECL(BOOL, BOOL);
 
 int main()
 {
@@ -184,6 +185,8 @@
   float f2;
   double d = 1.7976931348623157e+308;
   double d2;
+  BOOL b = YES;
+  BOOL b2;
   
   fm = [NSFileManager defaultManager];
   
@@ -222,6 +225,9 @@
   
   testWriteBasicType_ushort("ushort", &us);
   testReadBasicType_ushort("ushort", &us, &us2);
+  
+  testWriteBasicType_double("BOOL", &b);
+  testReadBasicType_double("BOOL", &b, &b2);
   
   obj1 = [Model new];
   [obj1 setValues];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to