Sha256: 41680a8964d93dd79da819467ed078a239cf33f4f038cb84c4aece7a2fa8d330
Contents?: true
Size: 798 Bytes
Versions: 131
Compression:
Stored size: 798 Bytes
Contents
import org.scalatest.{Matchers, FunSuite} /** @version 1.1.0 */ class AcronymTest extends FunSuite with Matchers { test("basic") { Acronym.abbreviate("Portable Network Graphics") should be ("PNG") } test("lowercase words") { pending Acronym.abbreviate("Ruby on Rails") should be ("ROR") } test("punctuation") { pending Acronym.abbreviate("First In, First Out") should be ("FIFO") } test("all caps words") { pending Acronym.abbreviate("PHP: Hypertext Preprocessor") should be ("PHP") } test("non-acronym all caps word") { pending Acronym.abbreviate("GNU Image Manipulation Program") should be ("GIMP") } test("hyphenated") { pending Acronym.abbreviate("Complementary metal-oxide semiconductor") should be ("CMOS") } }
Version data entries
131 entries across 131 versions & 1 rubygems