Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Mar 25, 2019
1 parent 5677dbc commit 56f29e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions encode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ func TestEncoder_Encode(t *testing.T) {
{Extras: 8.0, Sampler: Index(1), Target: ChannelTarget{Extras: 8.0, Node: Index(3), Path: Weights}},
{Extras: 8.0, Sampler: Index(2), Target: ChannelTarget{Extras: 8.0, Node: Index(5), Path: Translation}},
}},
{Extras: 8.0, Name: "an_3", Samplers: []AnimationSampler{
{Extras: 8.0, Input: Index(1), Output: Index(1), Interpolation: CubicSpline},
}},
}}}, false},
{"withBuffer", args{&Document{Buffers: []Buffer{
{Extras: 8.0, Name: "binary", ByteLength: 3, URI: "a.bin", Data: []uint8{1, 2, 3}},
Expand Down

0 comments on commit 56f29e0

Please sign in to comment.