Initial import of the sources from SVN

This commit is contained in:
Alexey Verkhovsky 2005-01-15 20:26:54 +00:00
parent e1a14bc27b
commit 223b2bec6c
204 changed files with 29431 additions and 0 deletions

12
test/unit/wiki_words_test.rb Executable file
View file

@ -0,0 +1,12 @@
require "test/unit"
require "wiki_words"
class WikiWordsTest < Test::Unit::TestCase
def test_utf8_characters_in_wiki_word
assert_equal "Æåle Øen", WikiWords.separate("ÆåleØen")
assert_equal "ÆÅØle Øen", WikiWords.separate("ÆÅØleØen")
assert_equal "Æe ÅØle Øen", WikiWords.separate("ÆeÅØleØen")
assert_equal "Legetøj", WikiWords.separate("Legetøj")
end
end