38 lines
735 B
Swift
38 lines
735 B
Swift
//
|
|
// KissMeConsoleTests.swift
|
|
// KissMeConsoleTests
|
|
//
|
|
// Created by ened-book-m1 on 2023/05/09.
|
|
//
|
|
|
|
import XCTest
|
|
@testable import KissMeConsole
|
|
|
|
class KissMeConsoleTests: XCTestCase {
|
|
|
|
override func setUpWithError() throws {
|
|
}
|
|
|
|
override func tearDownWithError() throws {
|
|
}
|
|
|
|
func testExample() throws {
|
|
}
|
|
|
|
func testPerformanceExample() throws {
|
|
self.measure {
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
class CsvStringTests: XCTestCase {
|
|
func testExample() throws {
|
|
let csv = URL.currentDirectory().appending(path: "data/shop-products.csv")
|
|
let header = try String.readCsvHeader(fromFile: csv)
|
|
|
|
let symbols = DomesticShop.Product.symbols()
|
|
XCTAssertTrue(symbols == header)
|
|
}
|
|
}
|