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