159 unit test astronomical calculations #162
8 test failures, 11 warnings
Report Summary | |
---|---|
Errors | 0 |
Test Failures | 8 |
Analysis Issues | 0 |
Warnings | 11 |
Details
8 Test Failures
Details
KCNOAACalculatorTests.testCalculatesSunriseOnAugustFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:97
XCTAssertEqualWithAccuracy failed: ("712576436.0") is not equal to ("712587236.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunsetOnAugustFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:179
XCTAssertEqualWithAccuracy failed: ("712627917.0") is not equal to ("712638718.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunriseOnJanuaryFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:58
XCTAssertEqualWithAccuracy failed: ("694181883.0") is not equal to ("694268283.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunsetOnDecemberFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:200
XCTAssertEqualWithAccuracy failed: ("723159175.0") is not equal to ("723169975.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunsetOnJanuaryFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:139
XCTAssertEqualWithAccuracy failed: ("694302176.0") is not equal to ("694312976.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunriseOnMayFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:78
XCTAssertEqualWithAccuracy failed: ("704541365.0") is not equal to ("704627766.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunriseOnDecemberFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:118
XCTAssertEqualWithAccuracy failed: ("723124716.0") is not equal to ("723135516.0") +/- ("1.0")
KCNOAACalculatorTests.testCalculatesSunsetOnMayFirstAsExpected() | KosherCocoaTests/KCNOAACalculatorTests.swift:159
XCTAssertEqualWithAccuracy failed: ("704677952.0") is not equal to ("704688753.0") +/- ("1.0")
11 Warnings
Details
KosherCocoaTests/KCNOAACalculatorTests.swift:91
Variable 'sunrise' was never mutated; consider changing to 'let' constant
KosherCocoaTests/KCNOAACalculatorTests.swift:112
Variable 'sunrise' was never mutated; consider changing to 'let' constant
KosherCocoaTests/KCNOAACalculatorTests.swift:153
Variable 'sunset' was never mutated; consider changing to 'let' constant
KosherCocoaTests/KCNOAACalculatorTests.swift:194
Variable 'sunset' was never mutated; consider changing to 'let' constant
KosherCocoaTests/KCNOAACalculatorTests.swift:72
Variable 'sunrise' was never mutated; consider changing to 'let' constant
KosherCocoaTests/KCNOAACalculatorTests.swift:52
Variable 'sunrise' was never mutated; consider changing to 'let' constant
KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m:13
Method definition for 'UTCSunriseForDate:andZenith:adjustForElevation:' not found
KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.h:19
Pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified)
KosherCocoaTests/KCNOAACalculatorTests.swift:133
Variable 'sunset' was never mutated; consider changing to 'let' constant
KosherCocoa/Library/Core/Solar/KCAstronomicalCalculator.m:13
Method definition for 'UTCSunsetForDate:andZenith:adjustForElevation:' not found
KosherCocoaTests/KCNOAACalculatorTests.swift:173
Variable 'sunset' was never mutated; consider changing to 'let' constant
Annotations
Check notice on line 91 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L91
Variable 'sunrise' was never mutated; consider changing to 'let' constant
Check notice on line 112 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L112
Variable 'sunrise' was never mutated; consider changing to 'let' constant
Check notice on line 153 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L153
Variable 'sunset' was never mutated; consider changing to 'let' constant
Check notice on line 194 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L194
Variable 'sunset' was never mutated; consider changing to 'let' constant
Check notice on line 72 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L72
Variable 'sunrise' was never mutated; consider changing to 'let' constant
Check notice on line 52 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L52
Variable 'sunrise' was never mutated; consider changing to 'let' constant
Check notice on line 133 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L133
Variable 'sunset' was never mutated; consider changing to 'let' constant
Check notice on line 173 in KosherCocoaTests/KCNOAACalculatorTests.swift
xcode-cloud / KosherCocoa | Run Tests | Test - iOS
KosherCocoaTests/KCNOAACalculatorTests.swift#L173
Variable 'sunset' was never mutated; consider changing to 'let' constant