Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bofeizhu committed Aug 13, 2018
1 parent 5f2d683 commit aa4f653
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 029-divide-two-integers.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ class Tests: XCTestCase {
}

func testExample2() {
XCTAssertEqual(divide(-2147483648, 1), -2147483648)
XCTAssertEqual(divide(Int(Int32.min), 1), Int(Int32.min))
}

func testExample3() {
XCTAssertEqual(divide(Int(Int32.min), -1), Int(Int32.max))
}
}

Expand Down

0 comments on commit aa4f653

Please sign in to comment.