Simple roundtrip from ipptool works.

This commit is contained in:
2020-11-01 20:05:53 +01:00
parent 83f35d045c
commit cadcedf43c
16 changed files with 744 additions and 152 deletions

View File

@@ -0,0 +1,17 @@
package ipp
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func TestMarshalUriValue(T *testing.T) {
var u uriValue
u.name = "foo"
u.value = "bar"
b := u.marshal()
assert.Len(T, b, 11)
fmt.Printf("% x\n", b)
}