Sha256: a8e7e8881a80f3dd6e7732d74b3f0d648468e49079a827021afa7a385e43da18
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
####################################################################### # test_sys_cpu_version.rb # # The sole purpose of this test case is to verify the version number. # This reduces the pain of having separate tests for the VERSION # constant in every single test case. ####################################################################### require 'rubygems' gem 'test-unit' require 'sys/cpu' require 'test/unit' class TC_Sys_CPU_VERSION < Test::Unit::TestCase def test_version assert_equal('0.6.4', Sys::CPU::VERSION) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sys-cpu-0.6.4-universal-linux | test/test_sys_cpu_version.rb |
sys-cpu-0.6.4 | test/test_sys_cpu_version.rb |