RosettaCodeData/Task/Assertions/Objective-C/assertions-2.m

2 lines
100 B
Mathematica
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
NSAssert1(a == 42, @"a is not 42, a is actually %d", a); # has 1 formatting arg, so use NSAssert"1"