OSDN Git Service

Refactored methods: League#find_rival and Game::decide_turns.
[shogi-server/shogi-server.git] / sample / check_time2.rb
1 10000.times do
2   t1 = Time.mktime(2010,7,27)
3   t2 = Time.mktime(2010,7,26,23,59,59,0.999999)
4
5   unless (t1-t2) > 0
6     puts "WHY?"
7   end
8 end