Sha256: e57331f74b06bda5bb3cf123766272022e87d4d0d4e67811b999afe305f1babc
Contents?: true
Size: 571 Bytes
Versions: 6
Compression:
Stored size: 571 Bytes
Contents
require 'integration_helper' module GameMachine describe "basic" do let(:client) {Clients::UdtClient.new(:seed01)} describe "Sending and receiving messages" do it "works" do message = Helpers::GameMessage.new('player') message.echo_test('hi') client.connect client.send_message(message.to_byte_array) result = client.receive logout = Helpers::GameMessage.new('player') logout.player_logout client.send_message(logout.to_byte_array) client.disconnect end end end end
Version data entries
6 entries across 6 versions & 1 rubygems