Created
February 24, 2019 19:16
-
-
Save jeantimex/32c1553789c5d8bcb832ea7b19e551be to your computer and use it in GitHub Desktop.
SwiftyLibTests.swift - Part 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SwiftyLibTests.swift | |
// | |
import XCTest | |
@testable import SwiftyLib | |
class SwiftyLibTests: XCTestCase { | |
var swiftyLib: SwiftyLib! | |
override func setUp() { | |
swiftyLib = SwiftyLib() | |
} | |
func testAdd() { | |
XCTAssertEqual(swiftyLib.add(a: 1, b: 1), 2) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment