quality: Add some test cases for openflow messages
This commit is contained in:
parent
578c0d1bdc
commit
f3fc896408
13 changed files with 1403 additions and 1321 deletions
|
|
@ -9,8 +9,10 @@ defmodule OfpFeaturesTest do
|
|||
|> File.read!()
|
||||
|> Openflow.read()
|
||||
|
||||
assert features.version == 4
|
||||
assert features.xid == 0
|
||||
expect = Openflow.Features.Request.new(0)
|
||||
|
||||
assert features.version == expect.version
|
||||
assert features.xid == expect.xid
|
||||
end
|
||||
|
||||
test "with OFP_FEATURES_REPLY packet" do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue