initial commit

This commit is contained in:
William LaFrance 2017-04-23 19:08:26 -05:00
commit c357e28a8b
5 changed files with 36 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.DS_Store
/.build
/Packages
/*.xcodeproj

5
Package.swift Normal file
View File

@ -0,0 +1,5 @@
import PackageDescription
let package = Package(
name: "SwiftBncsLib"
)

View File

@ -0,0 +1,4 @@
struct SwiftBncsLib {
var text = "Hello, World!"
}

6
Tests/LinuxMain.swift Normal file
View File

@ -0,0 +1,6 @@
import XCTest
@testable import SwiftBncsLibTests
XCTMain([
testCase(SwiftBncsLibTests.allTests),
])

View File

@ -0,0 +1,17 @@
import XCTest
@testable import SwiftBncsLib
class SwiftBncsLibTests: XCTestCase {
func testExample() {
// This is an example of a functional test case.
// Use XCTAssert and related functions to verify your tests produce the correct results.
XCTAssertEqual(SwiftBncsLib().text, "Hello, World!")
}
static var allTests : [(String, (SwiftBncsLibTests) -> () throws -> Void)] {
return [
("testExample", testExample),
]
}
}