Backend: Adapt test to label update
This commit is contained in:
parent
b5c63893a8
commit
6598aed7ba
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ func TestTensorFlow_Labels(t *testing.T) {
|
||||||
assert.IsType(t, Labels{}, result)
|
assert.IsType(t, Labels{}, result)
|
||||||
assert.Equal(t, 1, len(result))
|
assert.Equal(t, 1, len(result))
|
||||||
|
|
||||||
assert.Equal(t, "chihuahua", result[0].Name)
|
assert.Equal(t, "dog", result[0].Name)
|
||||||
|
|
||||||
assert.Equal(t, 34, result[0].Uncertainty)
|
assert.Equal(t, 34, result[0].Uncertainty)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue