Skip to content

Commit

Permalink
Update acronym to match canonical-data. Refs exercism#488
Browse files Browse the repository at this point in the history
  • Loading branch information
ricemery committed Dec 31, 2018
1 parent 74d38ba commit 5728674
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions exercises/acronym/src/test/scala/AcronymTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,37 @@ class AcronymTest extends FunSuite with Matchers {
}

test("lowercase words") {
//pending
pending
Acronym.abbreviate("Ruby on Rails") should be ("ROR")
}

test("punctuation") {
//pending
pending
Acronym.abbreviate("First In, First Out") should be ("FIFO")
}

test("all caps word") {
//pending
pending
Acronym.abbreviate("GNU Image Manipulation Program") should be ("GIMP")
}

test("punctuation without whitespace") {
//pending
pending
Acronym.abbreviate("Complementary metal-oxide semiconductor") should be ("CMOS")
}

test("very long abbreviation") {
//pending
pending
Acronym.abbreviate("Rolling On The Floor Laughing So Hard That My Dogs Came Over And Licked Me") should be ("ROTFLSHTMDCOALM")
}

test("consecutive delimiters") {
//pending
pending
Acronym.abbreviate("Something - I made up from thin air") should be ("SIMUFTA")
}

test("apostrophes") {
//pending
pending
Acronym.abbreviate("Halley's Comet") should be ("HC")
}
}

0 comments on commit 5728674

Please sign in to comment.