Skip to content

Commit 2c05975

Browse files
committed
Add tests
1 parent 70151b8 commit 2c05975

File tree

14 files changed

+361
-70
lines changed

14 files changed

+361
-70
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ DerivedData
2828

2929
# CocoaPods
3030
Pods
31+
32+
# Carthage
33+
Carthage

Cartfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "Quick/Nimble"
2+
github "Quick/Quick"

Cartfile.resolved

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github "Quick/Nimble" "v3.0.0"
2+
github "Quick/Quick" "v0.8.0"

Pitchy.xcodeproj/project.pbxproj

Lines changed: 317 additions & 63 deletions
Large diffs are not rendered by default.

Pitchy.xcodeproj/xcshareddata/xcschemes/Pitchy-Mac.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
skipped = "NO">
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "D5DF49A11C2EE43E00343F13"
36-
BuildableName = "PitchyTests.xctest"
37-
BlueprintName = "PitchyTests"
35+
BlueprintIdentifier = "D5DF4A191C2EE96D00343F13"
36+
BuildableName = "Pitchy-Mac-Tests.xctest"
37+
BlueprintName = "Pitchy-Mac-Tests"
3838
ReferencedContainer = "container:Pitchy.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>

Pitchy.xcodeproj/xcshareddata/xcschemes/Pitchy-iOS.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
skipped = "NO">
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
35-
BlueprintIdentifier = "D5DF49A11C2EE43E00343F13"
36-
BuildableName = "PitchyTests.xctest"
37-
BlueprintName = "PitchyTests"
35+
BlueprintIdentifier = "D5DF4A0A1C2EE95600343F13"
36+
BuildableName = "Pitchy-iOS-Tests.xctest"
37+
BlueprintName = "Pitchy-iOS-Tests"
3838
ReferencedContainer = "container:Pitchy.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>
File renamed without changes.

PitchyTests/Specs/AcousticWaveSpec.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@testable import Pitchy
12
import Quick
23
import Nimble
34

PitchyTests/Specs/Calculators/NoteCalculatorSpec.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@testable import Pitchy
12
import Quick
23
import Nimble
34

@@ -46,7 +47,7 @@ class NoteCalculatorSpec: QuickSpec {
4647
expect(letters[11]).to(equal(Note.Letter.GSharp))
4748
}
4849
}
49-
50+
5051
describe(".frequency:index") {
5152
it("returns a correct frequency by pitch index") {
5253
notes.forEach {

PitchyTests/Specs/Calculators/PitchCalculatorSpec.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@testable import Pitchy
12
import Quick
23
import Nimble
34

0 commit comments

Comments
 (0)