test/test.rb in rufus-mnemo-1.2.0 vs test/test.rb in rufus-mnemo-1.2.1

- old
+ new

@@ -1,11 +1,9 @@ # # Testing rufus-mnemo # -# John Mettraux at openwfe.org -# # Sun Mar 18 13:29:37 JST 2007 # $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))) @@ -13,11 +11,10 @@ require 'rufus/mnemo' # # testing misc things # - class MnemoTest < Test::Unit::TestCase #def setup #end @@ -97,8 +94,13 @@ assert_equal 'dobejotehozi', Rufus::Mnemo.from_i(13477774722) require 'mathn' assert_equal 'dobejotehozi', Rufus::Mnemo.from_i(13477774722) + end + + def test_to_s + + assert_equal 'dobejotehozi', Rufus::Mnemo.to_s(13477774722) end end