Skip to content

Commit

Permalink
tests: add a case for recurring decimals
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoweii committed May 30, 2024
1 parent 9e8ebab commit 3af943d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/ClickstreamTests/EventCheckerTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class EventCheckerTest: XCTestCase {

func testDoubleIsFinite() {
XCTAssertTrue(EventChecker.checkFinite(123.31))
XCTAssertTrue(EventChecker.checkFinite(355/113.0))
XCTAssertTrue(EventChecker.checkFinite(0))
XCTAssertTrue(EventChecker.checkFinite(Double.pi))
XCTAssertTrue(EventChecker.checkFinite(Double.leastNormalMagnitude))
Expand Down

0 comments on commit 3af943d

Please sign in to comment.