Sha256: 06d620cc2aa47415b739566f02efeee4b60020d77763d006ffa3c34975b129e1
Contents?: true
Size: 586 Bytes
Versions: 4
Compression:
Stored size: 586 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe ValueChange do context '.new' do it "should assign offset, value, and duration given during construction" do event = ValueChange.new(0) event.value.should eq(0) event.transition.class.should eq(Transition::Immediate) event.transition.duration.should eq(0) event = ValueChange.new(2, Transition::Linear.new(3)) event.value.should eq(2) event.transition.class.should eq(Transition::Linear) event.transition.duration.should eq(3) end end end
Version data entries
4 entries across 4 versions & 1 rubygems