Sha256: a70d7255b6b144f1567fa00972859c552302da10adddf19fa4b18d714389b242
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 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 'sys/cpu' require 'test-unit' class TC_Sys_CPU_VERSION < Test::Unit::TestCase test "version number is set to the expected value" do assert_equal('0.7.2', Sys::CPU::VERSION) end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cpuinfo-1.0.0 | test/test_sys_cpu_version.rb |
sys-cpu-0.7.2 | test/test_sys_cpu_version.rb |