Sha256: 3b1b4f63a48f9aaa1067d4c8d09773005f122b94f75d917fbf8887456b1493d3
Contents?: true
Size: 428 Bytes
Versions: 9
Compression:
Stored size: 428 Bytes
Contents
require File.expand_path 'test_helper', File.dirname(__FILE__) class TestBlock < MiniTest::Test def test_block version_ = nil ArduinoFirmata.connect ENV['ARDUINO'] do version_ = version end assert version_ and version_ > '2.0' end def test_block_analog_read ain = nil ArduinoFirmata.connect ENV['ARDUINO'] do ain = analog_read 0 end assert 0 <= ain and ain < 1024 end end
Version data entries
9 entries across 9 versions & 1 rubygems