1//
2//  TestValidator.m
3//  TestValidator
4//
5//  Created by James Murphy on 12/13/12.
6//  Copyright 2012 James Murphy. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "ValidateAsset.h"
11
12int main (int argc, const char * argv[])
13{
14    @autoreleasepool
15    {
16        NSLog(@"Starting the TestValidator");
17        NSString* resource_path = [[NSBundle mainBundle] resourcePath];
18        const char* asset_dir_path = [resource_path UTF8String];
19        if (ValidateAsset(asset_dir_path, 99))
20        {
21            NSLog(@"The assert did not validate");
22        }
23        else
24        {
25            NSLog(@"The assert validated!");
26        }
27    
28    }
29    return 0;
30}
31