diff SimoleonTests/SimoleonTests.swift @ 187:13d5a8deb6c2

add AboutView and FavoritesView
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Thu, 23 Dec 2021 16:12:22 +0100
parents 1ebd1c5dd302
children
line wrap: on
line diff
--- a/SimoleonTests/SimoleonTests.swift	Thu Dec 23 11:30:38 2021 +0100
+++ b/SimoleonTests/SimoleonTests.swift	Thu Dec 23 16:12:22 2021 +0100
@@ -43,20 +43,6 @@
         let quoteCurrencies = currencyList.getCurrencies()
         XCTAssertEqual(quoteCurrencies.count, 18, "Quote currencies does not match")
     }
-    
-    func testGetCurrencyFlagName() throws {
-        let currency = SupportedCurrencyResult(code: "EUR", name: "Euro", isCrypto: 0)
-        let flagName = getFlagName(currency: currency)
-        
-        XCTAssertEqual(flagName, "EU", "Flag name does not match")
-    }
-    
-    func testGetCryptoFlagName() throws {
-        let currency = SupportedCurrencyResult(code: "BTC", name: "Bitcoin", isCrypto: 1)
-        let flagName = getFlagName(currency: currency)
-        
-        XCTAssertEqual(flagName, "", "Flag name does not match")
-    }
 
     func testPerformanceExample() throws {
         // This is an example of a performance test case.