Sha256: 0210328ed983e95cac610e9d034d3d829ec6f234ce90f71e655d7ad295a2b34f
Contents?: true
Size: 1.04 KB
Versions: 68
Compression:
Stored size: 1.04 KB
Contents
module Tests exposing (..) import Acronym exposing (abbreviate) import Expect import Test exposing (Test, describe, skip, test) tests : Test tests = describe "Acronym" [ test "basic" <| \_ -> Expect.equal "PNG" (abbreviate "Portable Network Graphics") , skip <| test "lowercase words" <| \_ -> Expect.equal "ROR" (abbreviate "Ruby on Rails") , skip <| test "punctuation" <| \_ -> Expect.equal "FIFO" (abbreviate "First In, First Out") , skip <| test "all caps word" <| \_ -> Expect.equal "GIMP" (abbreviate "GNU Image Manipulation Program") , skip <| test "punctuation without whitespace" <| \_ -> Expect.equal "CMOS" (abbreviate "Complementary metal-oxide semiconductor") ]
Version data entries
68 entries across 68 versions & 1 rubygems