We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2af5e3 commit 0330bcfCopy full SHA for 0330bcf
Tests/SwiftVizTests/ScaleFactoryTests.swift
@@ -50,11 +50,9 @@ class ScaleFactoryTests: XCTestCase {
50
XCTAssertEqual(scale1.domainLower, 6)
51
XCTAssertEqual(scale3.domainLower, 0)
52
}
53
-
54
55
- @available(macOS 12, *)
56
func testDateScaleFactoryMethods() throws {
57
- let low: Date = Date.now
+ let low: Date = Date(timeIntervalSince1970: 123456789)
58
let high: Date = low.addingTimeInterval(5 * 60)
59
60
let scale1 = LinearScale.create(low, high)
0 commit comments