NSDate_Utils/Example/Pods/Expecta/Expecta/Matchers/EXPMatchers+beCloseTo.h
2015-12-22 13:58:16 +01:00

8 lines
334 B
Objective-C

#import "Expecta.h"
EXPMatcherInterface(_beCloseToWithin, (id expected, id within));
EXPMatcherInterface(beCloseToWithin, (id expected, id within));
#define beCloseTo(expected) _beCloseToWithin(EXPObjectify((expected)), nil)
#define beCloseToWithin(expected, range) _beCloseToWithin(EXPObjectify((expected)), EXPObjectify((range)))