Skip to content

Commit

Permalink
Fix dosDate test
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Aug 26, 2024
1 parent b150e7f commit ec2b014
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/ZipTests/ZipTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ final class ZipTests: XCTestCase {
}

func testDosDate() {
XCTAssertEqual(0b10000011001100011000110000110001, Date(timeIntervalSince1970: 2389275215).dosDate)
XCTAssertEqual(0b00000001001100011000110000110001, Date(timeIntervalSince1970: 338052815).dosDate)
XCTAssertEqual(0b00000000001000010000000000000000, Date(timeIntervalSince1970: 315529200).dosDate)
XCTAssertEqual(0b10000011001100011000110000110001, Date(timeIntervalSince1970: 2389278815).dosDate)
XCTAssertEqual(0b00000001001100011000110000110001, Date(timeIntervalSince1970: 338056415).dosDate)
XCTAssertEqual(0b00000000001000010000000000000000, Date(timeIntervalSince1970: 315532800).dosDate)
}

func testInit() {
Expand Down

0 comments on commit ec2b014

Please sign in to comment.