Sha256: 8c2d90a30b679b907aa8a6dcde58d6f3dc0e31167ad54c6c7e3eba9a599791af

Contents?: true

Size: 908 Bytes

Versions: 44

Compression:

Stored size: 908 Bytes

Contents

// This file was auto-generated based on version 1.1.0 of the canonical data.

module AcronymTest

open FsUnit.Xunit
open Xunit

open Acronym

[<Fact>]
let ``Basic`` () =
    abbreviate "Portable Network Graphics" |> should equal "PNG"

[<Fact(Skip = "Remove to run test")>]
let ``Lowercase words`` () =
    abbreviate "Ruby on Rails" |> should equal "ROR"

[<Fact(Skip = "Remove to run test")>]
let ``Punctuation`` () =
    abbreviate "First In, First Out" |> should equal "FIFO"

[<Fact(Skip = "Remove to run test")>]
let ``All caps words`` () =
    abbreviate "PHP: Hypertext Preprocessor" |> should equal "PHP"

[<Fact(Skip = "Remove to run test")>]
let ``Non-acronym all caps word`` () =
    abbreviate "GNU Image Manipulation Program" |> should equal "GIMP"

[<Fact(Skip = "Remove to run test")>]
let ``Hyphenated`` () =
    abbreviate "Complementary metal-oxide semiconductor" |> should equal "CMOS"

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
trackler-2.2.1.88 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.87 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.86 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.85 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.84 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.83 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.82 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.81 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.80 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.79 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.78 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.77 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.76 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.75 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.74 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.73 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.72 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.71 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.70 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.69 tracks/fsharp/exercises/acronym/AcronymTest.fs