teeworlds_network/spec/02_packet_spec.rb
2022-11-05 17:48:47 +01:00

12 lines
250 B
Ruby

# frozen_string_literal: true
require_relative '../lib/packet'
describe 'Packet', :packet do
context 'Set flag bits' do
it 'Should set the control flag bit' do
expect(PacketFlags.new(control: true).bits).to eq('0001')
end
end
end