summaryrefslogtreecommitdiffstats
path: root/spec/evas_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-05-05 08:44:16 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-05-05 08:44:16 +0200
commit67da13a4f7ddfad59c70df26e85152543c43c22f (patch)
treedac7733988d029475dee4ff84c0f872ffdd52399 /spec/evas_spec.rb
parente07b6f598ad470399dcd967a9171a8d3c1fa2cfe (diff)
downloadffi-efl-67da13a4f7ddfad59c70df26e85152543c43c22f.zip
ffi-efl-67da13a4f7ddfad59c70df26e85152543c43c22f.tar.gz
REvas#viewport + specs
Diffstat (limited to 'spec/evas_spec.rb')
-rw-r--r--spec/evas_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/evas_spec.rb b/spec/evas_spec.rb
index 135e8bf..622714a 100644
--- a/spec/evas_spec.rb
+++ b/spec/evas_spec.rb
@@ -157,10 +157,14 @@ describe Efl::Evas do
it "output size should work" do
@e.output_size_set 69, 666
@e.output_size_get.should == [69,666]
+ @e.output_size = 666, 69
+ @e.size == [666,69]
end
it "output viewport should work" do
@e.output_viewport_set 0, 0, 666, 69
@e.output_viewport_get.should == [0,0,666,69]
+ @e.output_viewport = 0, 0, 69, 666
+ @e.viewport.should == [0,0,69,666]
end
#
it "coordinates evas<=>world should work" do