トップ «前の日記(2014-09-19) 最新 次の日記(2014-09-22)» 編集

日々の破片

著作一覧

2014-09-20

_ Ruby-2.2.0で良くなった点

異様にテストの結果が見やすくなった。

..........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

2003|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|09|10|11|12|
2024|01|02|03|

ジェズイットを見習え