Sha256: 8eba4078e9f946a9f4e9abf6ccff5b173d283e5b592fea4a8a80d26638dc76a0

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

# encoding: utf-8

require File.expand_path("../../helper.rb", __FILE__)

class TestRouterSocket < ZmqTestCase
  def test_behavior
    ctx = ZMQ::Context.new
    sock = ctx.socket(:ROUTER)
    assert_equal ZMQ::ROUTER, sock.type
    assert_equal "ROUTER socket", sock.to_s
  ensure
    ctx.destroy
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbczmq-1.7.9 test/socket/test_router_socket.rb
rbczmq-1.7.8 test/socket/test_router_socket.rb
rbczmq-1.7.7 test/socket/test_router_socket.rb
rbczmq-1.7.6 test/socket/test_router_socket.rb
rbczmq-1.7.5 test/socket/test_router_socket.rb