From c2e082742115ca6860d3f55509d86a15db0b9a96 Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 15 Nov 2014 15:33:34 +0000 Subject: [PATCH] add an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_time.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index cfbf42d6f6..97a5ce7bdf 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -171,6 +171,7 @@ class TestTime < Test::Unit::TestCase assert_equal(100000, Time.at(0.0001).nsec) assert_equal(10000, Time.at(0.00001).nsec) assert_equal(3000, Time.at(0.000003).nsec) + assert_equal(200, Time.at(0.0000002r).nsec) assert_equal(199, Time.at(0.0000002).nsec) assert_equal(10, Time.at(0.00000001).nsec) assert_equal(1, Time.at(0.000000001).nsec)