initial commit
This commit is contained in:
commit
c357e28a8b
|
@ -0,0 +1,4 @@
|
|||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
|
@ -0,0 +1,5 @@
|
|||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "SwiftBncsLib"
|
||||
)
|
|
@ -0,0 +1,4 @@
|
|||
struct SwiftBncsLib {
|
||||
|
||||
var text = "Hello, World!"
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
import XCTest
|
||||
@testable import SwiftBncsLibTests
|
||||
|
||||
XCTMain([
|
||||
testCase(SwiftBncsLibTests.allTests),
|
||||
])
|
|
@ -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),
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue