|
|
@@ -108,10 +108,3 @@ func Test_Address_Truncate(t *testing.T) {
|
|
|
postTruncate := testA.Truncate()
|
|
|
assert.True(t, len(postTruncate) == 10)
|
|
|
}
|
|
|
-
|
|
|
-func Test_Address_Last(t *testing.T) {
|
|
|
- testA := spawnAddress("test", []float64{20}, 10)
|
|
|
- assert.True(t, testA.Last() == 20)
|
|
|
- testA = spawnAddress("test", []float64{}, 10)
|
|
|
- assert.True(t, testA.Last() == -1)
|
|
|
-}
|