Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add NSString+digest unit test

  • Loading branch information...
commit 31ecde9559ab0a4e0cf269b1d845c40bed64ff2f 1 parent 1f35dbf
@wader authored
View
6 NSString+digest/NSString+digestTest.h
@@ -0,0 +1,6 @@
+#import <SenTestingKit/SenTestingKit.h>
+#import <UIKit/UIKit.h>
+
+@interface NSString_digestTest : SenTestCase
+- (void)testDigest;
+@end
View
10 NSString+digest/NSString+digestTest.m
@@ -0,0 +1,10 @@
+#import "NSString+digestTest.h"
+#import "NSString+digest.h"
+
+@implementation NSString_digestTest
+
+- (void)testDigest {
+ STAssertEqualObjects([@"test" md5], @"098f6bcd4621d373cade4e832627b4f6", @"");
+}
+
+@end
Please sign in to comment.
Something went wrong with that request. Please try again.