mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-27 00:01:05 +08:00
add benchmark suite
This commit is contained in:
9
test/Benchmark/spec/main_spec.rb
Normal file
9
test/Benchmark/spec/main_spec.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
describe "Application 'Bench'" do
|
||||
before do
|
||||
@app = UIApplication.sharedApplication
|
||||
end
|
||||
|
||||
it "has one window" do
|
||||
@app.windows.size.should == 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user