Sha256: 06c2b5165b44283256aadd0aa9078a539bf9bcbf8df79c1eff11a15eb35687ac
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
require 'minitest/autorun' require 'clock' class ClockTest < Minitest::Test def test_run_time assert_equal "{\"min\":[],\"fiveMin\":[22,13,25,3,7],\"hour\":[6,12,17,4,15],\"main\":[11,5,26,18,2,30,19,8,24,10,29,20,16,21,28,1,23,14,27,9]}", Clock.run_ball_clock(30,325) end def test_cycle_days assert_equal "Clock cycles in: 2415 day(s).", Clock.run_ball_clock(127,0) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danno_ball_clock-0.0.4 | test/test_clock.rb |
danno_ball_clock-0.0.3 | test/test_clock.rb |