Sha256: 856f90f4aee95597b2aa3e2bfdce63568acba5b0bea3889dc146932275d025f0

Contents?: true

Size: 224 Bytes

Versions: 10

Compression:

Stored size: 224 Bytes

Contents

require File.dirname(__FILE__)+"/spec_helper.rb"
describe Rubyvis::Scale do
  it "should return a correct numeric interpolator" do
    i=Rubyvis::Scale.interpolator(0,20)
    i[10].should==200
    i[20].should==400
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubyvis-0.2.1 spec/scale_spec.rb
rubyvis-0.2.0 spec/scale_spec.rb
rubyvis-0.1.7 spec/scale_spec.rb
rubyvis-0.1.6 spec/scale_spec.rb
rubyvis-0.1.5 spec/scale_spec.rb
rubyvis-0.1.4 spec/scale_spec.rb
rubyvis-0.1.3 spec/scale_spec.rb
rubyvis-0.1.2 spec/scale_spec.rb
rubyvis-0.1.1 spec/scale_spec.rb
rubyvis-0.1.0 spec/scale_spec.rb