Sha256: 1534ea8563ca17cbb3dc8dc0f0253936dcb2be07f9b6da29feac836f752de9d2

Contents?: true

Size: 587 Bytes

Versions: 90

Compression:

Stored size: 587 Bytes

Contents

require 'minitest/autorun'
require_relative 'gigasecond'

# Common test data version: <%= abbreviated_commit_hash %>
class GigasecondTest < Minitest::Test<% test_cases.each do |test_case| %>
  def <%= test_case.name %><% if test_case.skipped? %>
    skip<% end %>
    result = Gigasecond.from(<%= test_case.got %>)
    assert_equal <%= test_case.want %>, result
  end
<% end %>
  # Test your 1Gs anniversary
  def test_with_your_birthday
    skip
  end

<%= IO.read(XRUBY_LIB + '/bookkeeping.md') %>
  def test_bookkeeping
    assert_equal <%= version %>, BookKeeping::VERSION
  end
end

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
trackler-2.0.8.16 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.15 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.14 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.13 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.12 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.11 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.10 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.9 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.8 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.7 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.6 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.5 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.4 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.3 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.2 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.8.1 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.7.0 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.6.44 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.6.43 tracks/ruby/exercises/gigasecond/example.tt
trackler-2.0.6.42 tracks/ruby/exercises/gigasecond/example.tt