Sha256: 0d7789a91f0020fae909add4989c0e90a593bf2b7f02caf4dee34e17dc2361c4

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

# encoding: utf-8

require 'test/unit'
require 'czech_names_vocative'

class CzechNamesVocativeTest < Test::Unit::TestCase
  def test_few_names_vocative
    assert_equal "Petře", "Petr".vocative
    assert_equal "Josefe", "Josef".vocative
    assert_equal nil, "NONAME".vocative
    assert_not_equal "Veronika", "Veronika".vocative
    assert_equal "Petře", "Petr".vocative!
    assert_equal "NONAME", "NONAME".vocative!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
czech_names_vocative-0.3.0 test/test_czech_names_vocative.rb
czech_names_vocative-0.2.0 test/test_czech_names_vocative.rb