Sha256: 0b20eee76063abaf1b41ff8c42d4de5b5332a886058cf4c2258847433a3c0d1e

Contents?: true

Size: 227 Bytes

Versions: 12

Compression:

Stored size: 227 Bytes

Contents

if PurplishFrame.osx?
  describe "Points" do
    it "NSPoint scaling" do
      (NSPoint.new(100, 200)*10).should.equal NSPoint.new(1000, 2000)
      (NSPoint.new(100, 200)/10).should.equal NSPoint.new(10, 20)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
purplish-frame-0.0.12 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.11 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.10 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.9 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.8 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.7 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.6 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.5 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.4 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.3 spec/non-ui/osx/ns_point_spec.rb
purplish-frame-0.0.2 spec/osx/ns_point_spec.rb
purplish-frame-0.0.1 spec/osx/ns_point_spec.rb