comparison SimoleonTests/SimoleonTests.swift @ 186:1ebd1c5dd302

finish ConversionView
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 23 Dec 2021 11:30:38 +0100
parents 2fc95efcb1ee
children 13d5a8deb6c2
comparison
equal deleted inserted replaced
185:2fc95efcb1ee 186:1ebd1c5dd302
53 53
54 func testGetCryptoFlagName() throws { 54 func testGetCryptoFlagName() throws {
55 let currency = SupportedCurrencyResult(code: "BTC", name: "Bitcoin", isCrypto: 1) 55 let currency = SupportedCurrencyResult(code: "BTC", name: "Bitcoin", isCrypto: 1)
56 let flagName = getFlagName(currency: currency) 56 let flagName = getFlagName(currency: currency)
57 57
58 XCTAssertEqual(flagName, "BTC", "Flag name does not match") 58 XCTAssertEqual(flagName, "", "Flag name does not match")
59 } 59 }
60 60
61 func testPerformanceExample() throws { 61 func testPerformanceExample() throws {
62 // This is an example of a performance test case. 62 // This is an example of a performance test case.
63 self.measure { 63 self.measure {