changeset 34 | 50c4f26bcc1b |
parent 22 | a9da6c5d3f7c |
child 35 | 5cab3034d3a1 |
1.1 --- a/Test.h Sat Apr 04 20:53:53 2009 -0700 1.2 +++ b/Test.h Mon Aug 10 08:29:32 2009 -0700 1.3 @@ -82,6 +82,9 @@ 1.4 CAssert(_val==_expected, @"Unexpected value for %s: %@ (expected %@)", #VAL,$object(_val),$object(_expected)); \ 1.5 }while(0) 1.6 1.7 +#define AssertNil(VAL) AssertEq((VAL),nil) 1.8 +#define CAssertNil(VAL) CAssertEq((VAL),nil) 1.9 + 1.10 #define AssertAbstractMethod() _AssertAbstractMethodFailed(self,_cmd); 1.11 1.12 // Nasty internals ...