Skip to content

Instantly share code, notes, and snippets.

@candostdagdeviren
Last active March 21, 2017 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save candostdagdeviren/ebf1ee9d3afc3764a3431c1d8a845fd4 to your computer and use it in GitHub Desktop.
Save candostdagdeviren/ebf1ee9d3afc3764a3431c1d8a845fd4 to your computer and use it in GitHub Desktop.
Basic Test file for SwiftBackend
//
// UserTests.swift
// SwiftBackend
//
// Created by Candost Dagdeviren on 12/03/2017.
//
import XCTest
@testable import SwiftBackendLib
class UserTests: XCTestCase {
static var allTests : [(String, (UserTests) -> () throws -> Void)] {
return [
("testAsserts", testAsserts)
]
}
override func setUp() {
super.setUp()
}
func testAsserts() {
XCTAssertEqual(1234, 1234, "Message shown when assert fails")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment