Sha256: 00ccaf373d7b16661bfa36f4940465976d4e4c59d5084bf2cde7ed2ca7de2c33
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
require File.join( File.dirname(__FILE__) , '..', 'spec_helper' ) describe TuioCursor do before :each do @args1 = [ @session_id = 42, @x_pos = 0.8, @y_pos = 0.4, ] @tc = TuioCursor.new( *@args1 ) end describe "update" do before :each do @args2 = [ @x_pos2 = 0.23, @y_pos2 = 0.54, @x_speed = 0.01, @y_speed = 0.03, @motion_accel = 0.02 ] @tc.update( *@args2 ) end it "should it is equal to some arguments" do @tc.args_equal?( [@session_id, @x_pos, @y_pos] ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aberant-tuio-ruby-0.1.0 | spec/unit/tuio_cursor_spec.rb |