Sha256: b3df4af9cfce2d06f33499e32261ba0f687264b48c21464788410e56b3f33022

Contents?: true

Size: 314 Bytes

Versions: 2

Compression:

Stored size: 314 Bytes

Contents

require 'spec_helper'

require_relative 'expected'

describe "Specification Example K - Hard Reset Command" do
  it "Generates Expected Output" do
    command = MovingsignApi::HardResetCommand.new

    command.sender = :pc
    command.receiver = 16

    expect(command.to_bytes).to eq EXAMPLE_K_EXPECTED
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
movingsign_api-0.0.2 spec/examples/example_K_spec.rb
movingsign_api-0.0.1 spec/examples/example_K_spec.rb