Sha256: a25514b032ac18159c0bbabc49afccf568e44cb207b73aef6918d96d2ef0d087

Contents?: true

Size: 651 Bytes

Versions: 5

Compression:

Stored size: 651 Bytes

Contents

# encoding: UTF-8
require 'spec_helper'

describe LibMsPack do

    describe '.MsPackSelfTest' do
        it 'should pass' do
            LibMsPack.SysSelfTest.should eq(LibMsPack::MSPACK_ERR_OK)
        end
    end

    describe '.Version' do
        it 'should return LIBRARY version' do
            LibMsPack.Version(LibMsPack::MSPACK_VER_LIBRARY).should eq(1)
        end

        it 'should return SYSTEM version' do
            LibMsPack.Version(LibMsPack::MSPACK_VER_SYSTEM).should eq(1)
        end

        it 'should return MSCHMD version' do
            LibMsPack.Version(LibMsPack::MSPACK_VER_MSCHMD).should eq(2)
        end
    end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
libmspack-0.0.5 spec/libmspack_spec.rb
libmspack-0.0.4 spec/libmspack_spec.rb
libmspack-0.0.3 spec/libmspack_spec.rb
libmspack-0.0.2 spec/libmspack_spec.rb
libmspack-0.0.1 spec/libmspack_spec.rb