Sha256: 3605d3d33d20587248af99e8efbcd795846512e82b3770db69da3c5a0cc6191f

Contents?: true

Size: 668 Bytes

Versions: 6

Compression:

Stored size: 668 Bytes

Contents

# encoding: UTF-8
require 'spec_helper'

describe LibMsPack do

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

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

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

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

end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
libmspack-0.11.0 spec/libmspack_spec.rb
libmspack-0.10.1.2 spec/libmspack_spec.rb
libmspack-0.10.1 spec/libmspack_spec.rb
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/libmspack-0.1.0/spec/libmspack_spec.rb
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/libmspack-0.1.0/spec/libmspack_spec.rb
libmspack-0.1.0 spec/libmspack_spec.rb