Sha256: e7364fdfb9d2f9489d936c3bcb901997037cca5204eeb48be150d0d905bb9fa0
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class StringExtensionsTest < Test::Unit::TestCase def test_word_hash hash = {:some=>1, :good=>1, :hope=>1, :word=>1, :you=>1, :here=>1, :love=>1, :i=>1, :ar=>1, :them=>1, :"."=>1, :"!"=>1} assert_equal hash, "here are some good words. I hope you love them!".word_hash end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
classifier-1.0 | test/bayes/string_extensions_test.rb |