Skip to content

Commit

Permalink
Initialize the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
koher committed Nov 19, 2016
1 parent e6da8df commit 23de949
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
5 changes: 5 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import PackageDescription

let package = Package(
name: "SwiftTweetsKit"
)
4 changes: 4 additions & 0 deletions Sources/SwiftTweetsKit.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
struct SwiftTweetsKit {

var text = "Hello, World!"
}
6 changes: 6 additions & 0 deletions Tests/LinuxMain.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import XCTest
@testable import SwiftTweetsKitTests

XCTMain([
testCase(SwiftTweetsKitTests.allTests),
])
17 changes: 17 additions & 0 deletions Tests/SwiftTweetsKitTests/SwiftTweetsKitTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import XCTest
@testable import SwiftTweetsKit

class SwiftTweetsKitTests: 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(SwiftTweetsKit().text, "Hello, World!")
}


static var allTests : [(String, (SwiftTweetsKitTests) -> () throws -> Void)] {
return [
("testExample", testExample),
]
}
}

0 comments on commit 23de949

Please sign in to comment.