Skip to content

Commit

Permalink
missing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Sarnowski committed Mar 31, 2018
1 parent 7cf900b commit f4dcfd6
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -10,6 +10,7 @@ import static pl.allegro.finance.tradukisto.MoneyConverters.LATVIAN_BANKING_MONE
import static pl.allegro.finance.tradukisto.MoneyConverters.POLISH_BANKING_MONEY_VALUE
import static pl.allegro.finance.tradukisto.MoneyConverters.BRAZILIAN_PORTUGUESE_BANKING_MONEY_VALUE
import static pl.allegro.finance.tradukisto.MoneyConverters.RUSSIAN_BANKING_MONEY_VALUE
import static pl.allegro.finance.tradukisto.MoneyConverters.SLOVAK_BANKING_MONEY_VALUE

class MoneyConvertersTest extends Specification {

Expand Down Expand Up @@ -38,6 +39,11 @@ class MoneyConvertersTest extends Specification {
CZECH_BANKING_MONEY_VALUE.asWords(1_234.56) == "jeden tisíc dvě stě třicet čtyři Kč 56/100"
}

def "should convert money in Slovak"() {
expect:
SLOVAK_BANKING_MONEY_VALUE.asWords(1_234.56) == "jeden tisíc dvesto tridsať štyri € 56/100"
}

def "should convert money in Latvain"() {
expect:
LATVIAN_BANKING_MONEY_VALUE.asWords(1_234.56) == "viens tūkstotis divi simti trīsdesmit četri EUR 56/100"
Expand Down

0 comments on commit f4dcfd6

Please sign in to comment.