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.68 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.67 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.66 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.65 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.64 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.63 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.62 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.61 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.60 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.59 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.58 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.57 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.56 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.55 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.54 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.53 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.52 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.51 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.50 tracks/fsharp/exercises/acronym/AcronymTest.fs
trackler-2.2.1.49 tracks/fsharp/exercises/acronym/AcronymTest.fs