著作一覧 |
例
..........F =============================================================================== Failure: <false> is not true. test_kjconv(TestRjb) test.rb:152:in `test_kjconv' 149: euc_kj = "\xb4\xc1\xbb\xfa\xa5\xc6\xa5\xad\xa5\xb9\xa5\xc8".forc e_encoding Encoding::EUC_JP 150: s = @jString.new(euc_kj) 151: assert_equal(s.toString().encoding, Encoding::UTF_8) => 152: assert(test.isSameString(s)) 153: assert(test.isSameString(euc_kj)) 154: assert_equal(s.toString().encode(Encoding::EUC_JP), euc_kj) 155: sjis_kj = "\x8a\xbf\x8e\x9a\x83\x65\x83\x4c\x83\x58\x83\x67".for ce_encoding Encoding::SHIFT_JIS =============================================================================== .... Finished in 0.304264 seconds. 64 tests, 200 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notif ications 98.4375% passed 210.34 tests/s, 657.32 assertions/s
ジェズイットを見習え |