Sha256: ddc3730443453c3720947f3e844b15298a67f8f43586ffb0731d84694fee6f01

Contents?: true

Size: 1.34 KB

Versions: 325

Compression:

Stored size: 1.34 KB

Contents

import XCTest
@testable import Acronym

class AcronymTests: XCTestCase {
    func testAcronymAbbreviateTest1() {
        XCTAssertEqual("PNG", Acronym.abbreviate("Portable Network Graphics"))
    }

    func testAcronymAbbreviateTest2() {
        XCTAssertEqual("ROR", Acronym.abbreviate("Ruby on Rails"))
    }

    func testAcronymAbbreviateTest3() {
        XCTAssertEqual("HTML", Acronym.abbreviate("HyperText Markup Language"))
    }

    func testAcronymAbbreviateTest4() {
        XCTAssertEqual("FIFO", Acronym.abbreviate("First In, First Out"))
    }

    func testAcronymAbbreviateTest5() {
        XCTAssertEqual("PHP", Acronym.abbreviate("PHP: Hypertext Preprocessor"))
    }

    func testAcronymAbbreviateTest6() {
        XCTAssertEqual("CMOS", Acronym.abbreviate("Complementary metal-oxide semiconductor"))
    }

    static var allTests: [(String, (AcronymTests) -> () throws -> Void)] {
        return [
            ("testAcronymAbbreviateTest1", testAcronymAbbreviateTest1),
            ("testAcronymAbbreviateTest2", testAcronymAbbreviateTest2),
            ("testAcronymAbbreviateTest3", testAcronymAbbreviateTest3),
            ("testAcronymAbbreviateTest4", testAcronymAbbreviateTest4),
            ("testAcronymAbbreviateTest5", testAcronymAbbreviateTest5),
            ("testAcronymAbbreviateTest6", testAcronymAbbreviateTest6),
        ]
    }
}

Version data entries

325 entries across 325 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.179 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.178 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.177 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.176 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.175 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.174 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.173 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.172 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.171 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.170 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.169 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.167 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.166 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.165 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.164 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.163 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.162 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.161 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift
trackler-2.2.1.160 tracks/swift/exercises/acronym/Tests/AcronymTests/AcronymTests.swift