Sha256: 524174c1101bf3bc87dcd9621627c70303b80e8a022784e8004c55480b8313fd
Contents?: true
Size: 438 Bytes
Versions: 10
Compression:
Stored size: 438 Bytes
Contents
require File.expand_path 'test_helper', File.dirname(__FILE__) class TestBlock < MiniTest::Unit::TestCase 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
10 entries across 10 versions & 1 rubygems