//
//  MyLayoutTestCaseBase.h
//  MyLayout
//
//  Created by apple on 16/12/30.
//  Copyright © 2016年 YoungSoft. All rights reserved.
//

#import <XCTest/XCTest.h>
#import "MyLayout.h"
#import "MyLayoutMath.h"


#define MyRectAssert(v, rc)  XCTAssert(CGRectEqualToRect(v.frame, rc),  @"the real frame = %@",NSStringFromCGRect(v.frame));
#define MyRectAssert2(v,rc1, rc2)  XCTAssert(CGRectEqualToRect(rc1, rc2),  @"the real frame = %@",NSStringFromCGRect(rc1));
#define MySizeAssert(v, sz1, sz2)  XCTAssert(CGSizeEqualToSize(sz1, sz2),  @"the real size = %@",NSStringFromCGSize(sz1));


@interface MyLayoutTestCaseBase : XCTestCase

-(void)startClock;

-(void)endClock:(NSString*)text;


@end

