Sha256: 87e7144bc0d7387b4507c9081ead1d51c357e8afa2a559b23c0e2e76f4f8ce1c
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
$: << File.dirname(__FILE__) require 'test_helper' require 'version' # The most simple test there can possibly BE, let's check constant for constant class RubyXbeeTest < MiniTest::Test def setup @xbee_version_major = ::XBee::Version::MAJOR @xbee_version_minor = ::XBee::Version::MINOR @xbee_version_patch = ::XBee::Version::PATCH @xbee_version_string = ::XBee::Version::STRING end def test_version_matches_testsuite assert_equal 1, @xbee_version_major assert_equal 2, @xbee_version_minor assert_equal 1, @xbee_version_patch assert_equal '1.2.1', @xbee_version_string end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-xbee-1.2.1 | test/ruby_xbee_test.rb |