summaryrefslogtreecommitdiffstats
path: root/spec/eina_spec.rb
blob: c110d6796898b888af2a4b675f7bbcf38e281d8f (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 'e17/eina'
#
describe E17::EINA do
    #
    include E17
    #
    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