[K/N][Tests] Migrate objcSmoke & objcTests tests
^KT-61259
This commit is contained in:
committed by
Space Team
parent
58f7dd1c83
commit
524f0d335e
@@ -0,0 +1,20 @@
|
||||
#import "blocks.h"
|
||||
|
||||
@implementation Blocks
|
||||
+(BOOL)blockIsNull:(void (^)(void))block {
|
||||
return block == nil;
|
||||
}
|
||||
|
||||
+(int (^)(int, int, int, int))same:(int (^)(int, int, int, int))block {
|
||||
return block;
|
||||
}
|
||||
|
||||
+(void (^)(void)) nullBlock {
|
||||
return nil;
|
||||
}
|
||||
|
||||
+(void (^)(void)) notNullBlock {
|
||||
return ^{};
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user