Sha256: 11b3ece00d43d1b5e560c38dbbbf73a32340864a661af5c73935b91996de73f6

Contents?: true

Size: 333 Bytes

Versions: 7

Compression:

Stored size: 333 Bytes

Contents

require 'spec_helper'

describe LibC do

  it "exposes the malloc function" do
    expect(LibC).to respond_to(:malloc)
  end

  it "exposes the free function" do
    expect(LibC).to respond_to(:free)
    expect(LibC::Free).to_not be_nil
  end

  it "exposes the memcpy function" do
    expect(LibC).to respond_to(:memcpy)
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ffi-rzmq-core-1.0.7 spec/libc_spec.rb
ffi-rzmq-core-1.0.6 spec/libc_spec.rb
ffi-rzmq-core-1.0.5 spec/libc_spec.rb
ffi-rzmq-core-1.0.4 spec/libc_spec.rb
ffi-rzmq-core-1.0.3 spec/libc_spec.rb
ffi-rzmq-core-1.0.2 spec/libc_spec.rb
ffi-rzmq-core-1.0.1 spec/libc_spec.rb