Skip to content

Commit 8f65dd9

Browse files
committed
lib
1 parent 42f8b6e commit 8f65dd9

3 files changed

Lines changed: 35 additions & 3 deletions

File tree

Binary file not shown.

ObjDLib/ObjDLib/ObjDLib.xcodeproj/project.pbxproj

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@
689689
isa = PBXNativeTarget;
690690
buildConfigurationList = 0292ED3718869E5200DF540E /* Build configuration list for PBXNativeTarget "ObjDLibiOSTests" */;
691691
buildPhases = (
692+
0224A3F71886AC0F00E49BD2 /* ShellScript */,
692693
0292ED1D18869E5200DF540E /* Sources */,
693694
0292ED1E18869E5200DF540E /* Frameworks */,
694695
0292ED1F18869E5200DF540E /* Resources */,
@@ -706,6 +707,7 @@
706707
isa = PBXNativeTarget;
707708
buildConfigurationList = 0292ED6218869FC400DF540E /* Build configuration list for PBXNativeTarget "ObjDLibOSXTests" */;
708709
buildPhases = (
710+
0224A3F81886AC2400E49BD2 /* Run Script */,
709711
0292ED4B18869FC400DF540E /* Sources */,
710712
0292ED4C18869FC400DF540E /* Frameworks */,
711713
0292ED4D18869FC400DF540E /* Resources */,
@@ -763,6 +765,36 @@
763765
};
764766
/* End PBXResourcesBuildPhase section */
765767

768+
/* Begin PBXShellScriptBuildPhase section */
769+
0224A3F71886AC0F00E49BD2 /* ShellScript */ = {
770+
isa = PBXShellScriptBuildPhase;
771+
buildActionMask = 2147483647;
772+
files = (
773+
);
774+
inputPaths = (
775+
);
776+
outputPaths = (
777+
);
778+
runOnlyForDeploymentPostprocessing = 0;
779+
shellPath = /bin/sh;
780+
shellScript = "~/bin/ObjD";
781+
};
782+
0224A3F81886AC2400E49BD2 /* Run Script */ = {
783+
isa = PBXShellScriptBuildPhase;
784+
buildActionMask = 2147483647;
785+
files = (
786+
);
787+
inputPaths = (
788+
);
789+
name = "Run Script";
790+
outputPaths = (
791+
);
792+
runOnlyForDeploymentPostprocessing = 0;
793+
shellPath = /bin/sh;
794+
shellScript = "~/bin/ObjD";
795+
};
796+
/* End PBXShellScriptBuildPhase section */
797+
766798
/* Begin PBXSourcesBuildPhase section */
767799
0292ED1D18869E5200DF540E /* Sources */ = {
768800
isa = PBXSourcesBuildPhase;

ObjDLib/ObjDLib/ObjDLib/Test/CNTreeMapTest.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ - (void)testMain {
3030
[self assertEqualsA:@"test" b:[map applyKey:@0]];
3131
id<CNSeq> tests = (@[@-10, @-20, @-30, @10, @20, @-15, @20, @0, @11, @13, @-18]);
3232
[tests forEach:^void(id i) {
33-
[map setKey:i value:[@"test" stringByAppendingFormat:@"%ld", (long) unumi(i)]];
33+
[map setKey:i value:[@"test" stringByAppendingFormat:@"%ld", unumi(i)]];
3434
}];
3535
[self assertEqualsA:numui([[[tests chain] distinct] count]) b:numui([map count])];
3636
[[[tests chain] distinct] forEach:^void(id i) {
37-
[self assertEqualsA:[@"test" stringByAppendingFormat:@"%ld", (long) unumi(i)] b:[map applyKey:i]];
37+
[self assertEqualsA:[@"test" stringByAppendingFormat:@"%ld", unumi(i)] b:[map applyKey:i]];
3838
}];
3939
[self assertEqualsA:(@[@-30, @-20, @-18, @-15, @-10, @0, @10, @11, @13, @20]) b:[[map.keys chain] toArray]];
4040
[[[tests chain] distinct] forEach:^void(id i) {
41-
[self assertEqualsA:[@"test" stringByAppendingFormat:@"%ld", (long) unumi(i)] b:[map applyKey:i]];
41+
[self assertEqualsA:[@"test" stringByAppendingFormat:@"%ld", unumi(i)] b:[map applyKey:i]];
4242
[map removeForKey:i];
4343
[self assertTrueValue:[[map optKey:i] isEmpty]];
4444
}];

0 commit comments

Comments
 (0)