Guest User

Untitled

a guest
Jul 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. // Project
  2. ...
  3. func pow(_ target: Int) -> Int {
  4. return target*target
  5. }
  6.  
  7. // Test Target
  8. ...
  9. func testPowerFunction(){
  10. let expectedValue = 9
  11. let testingResult = myInstance.pow(3)
  12. XCTAssertEqual(expectedValue, testingResult, "결과 값이 올바르지 않습니다.")
  13. }
Add Comment
Please, Sign In to add comment