Unit Testing: hard code value
require 'test/unit' class TestRoman < Test::Unit::TestCase def test_simple assert_equal("i", 1.to_s) assert_equal("ix", 'ix'.to_s) end end