author | Jens Alfke <jens@mooseyard.com> |
Sun Jun 07 21:53:56 2009 -0700 (2009-06-07) | |
changeset 23 | 39fec79de6e8 |
parent 0 | 0a6527af039b |
permissions | -rw-r--r-- |
snej@0 | 1 |
// |
snej@0 | 2 |
// main.m |
snej@0 | 3 |
// MYCrypto-iPhone |
snej@0 | 4 |
// |
snej@0 | 5 |
// Created by Jens Alfke on 3/30/09. |
snej@0 | 6 |
// Copyright Jens Alfke 2009. All rights reserved. |
snej@0 | 7 |
// |
snej@0 | 8 |
|
snej@0 | 9 |
#import <UIKit/UIKit.h> |
snej@0 | 10 |
|
snej@0 | 11 |
int main(int argc, char *argv[]) { |
snej@0 | 12 |
if (argc<2) { |
snej@0 | 13 |
static char *testArgs[] = {"MYCrypto", "Test_All"}; |
snej@0 | 14 |
argc = 2; |
snej@0 | 15 |
argv = testArgs; |
snej@0 | 16 |
} |
snej@0 | 17 |
RunTestCases(argc,(const char**)argv); |
snej@0 | 18 |
|
snej@0 | 19 |
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; |
snej@0 | 20 |
int retVal = UIApplicationMain(argc, argv, nil, nil); |
snej@0 | 21 |
[pool release]; |
snej@0 | 22 |
return retVal; |
snej@0 | 23 |
} |