summaryrefslogtreecommitdiffstats
path: root/spec/eina_spec.rb
blob: e76129a7fb30d2a9b5d025c61fd6febe3d4702a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/eina'
#
describe Efl::Eina do
    #
    it "should init" do
        Efl::Eina.init.should eql 1
        Efl::Eina.init.should eql 2
        Efl::Eina.init.should eql 3
    end
    #
    it "should shutdown" do
        Efl::Eina.shutdown.should eql 2
        Efl::Eina.shutdown.should eql 1
        Efl::Eina.shutdown.should eql 0
    end
    #
end