func test_theme_color()

in CyborgTests/ColorTests.swift [28:40]


    func test_theme_color() {
        let name = "abc"
        let themeColor = "?\(name)"
        themeColor.withXMLString { themeColor in
            if let color = Color(themeColor) {
                if case .theme(let color) = color {
                    XCTAssertEqual(color, name)
                }
            } else {
                XCTFail()
            }
        }
    }