Sha256: c86cd37416c32afc7950f4129dd734e28752e7052801bdf172917d0a11af107d

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

# -*- coding: utf-8 -*-
require 'test/unit'
require 'simplecov'
SimpleCov.start
require 'sixarm_ruby_time_terse'

class TimeTest < Test::Unit::TestCase

 def test_terse_with_class_method
   t=Time.terse
   assert(t=~/^\d\d\d\d\d\d\d\d\d\d\d\d\d\d$/,t)
 end

 def test_terse_with_instance_method
   t=Time.now.terse
   assert(t=~/^\d\d\d\d\d\d\d\d\d\d\d\d\d\d$/,t)
 end
 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sixarm_ruby_time_terse-1.0.0 test/sixarm_ruby_time_terse_test.rb