#import <Foundation/Foundation.h>

#import "MyCal+MoveMonth.h"

int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
	
	MyCal *myCal;
	myCal = [[MyCal alloc] init];
	NSString *str= [myCal calStr];
	
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal prevMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal nextMonth];
	[myCal nextMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	[myCal nextMonth];
	str = [myCal calStr];
	NSLog(@"year:%d month:%d",myCal.year, myCal.month);
	NSLog(@"%@", str);
	
	
    [pool drain];
    return 0;
}
