Skip to content

Commit

Permalink
Updated unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Dec 24, 2024
1 parent bc5deb5 commit 0f5307a
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// Collections and Foundation Tests.swift
// OTCore • https://github.com/orchetect/OTCore
// © 2022 Steffan Andrews • Licensed under MIT License
//

import XCTest
@testable import OTCore

final class Extensions_Foundation_Collections_Tests: XCTestCase {
func testComparisonResultInverted() {
XCTAssertEqual(ComparisonResult.orderedAscending.inverted, .orderedDescending)
XCTAssertEqual(ComparisonResult.orderedSame.inverted, .orderedSame)
XCTAssertEqual(ComparisonResult.orderedDescending.inverted, .orderedAscending)
}
}

0 comments on commit 0f5307a

Please sign in to comment.