Skip to content

Instantly share code, notes, and snippets.

@jeantimex
Created February 24, 2019 19:16
Show Gist options
  • Save jeantimex/32c1553789c5d8bcb832ea7b19e551be to your computer and use it in GitHub Desktop.
Save jeantimex/32c1553789c5d8bcb832ea7b19e551be to your computer and use it in GitHub Desktop.
SwiftyLibTests.swift - Part 1
//
// 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