|
|
|
@ -211,7 +211,7 @@ func TestGetValuesAtTimeOp(t *testing.T) {
|
|
|
|
|
t.Fatalf("%d. expected length %d, got %d", i, len(scenario.out), len(actual))
|
|
|
|
|
}
|
|
|
|
|
for j, out := range scenario.out {
|
|
|
|
|
if !out.Equal(actual[j]) {
|
|
|
|
|
if !out.Equal(&actual[j]) {
|
|
|
|
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -464,7 +464,7 @@ func TestGetValuesAtIntervalOp(t *testing.T) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for j, out := range scenario.out {
|
|
|
|
|
if !out.Equal(actual[j]) {
|
|
|
|
|
if !out.Equal(&actual[j]) {
|
|
|
|
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -639,7 +639,7 @@ func TestGetValuesAlongRangeOp(t *testing.T) {
|
|
|
|
|
t.Fatalf("%d. expected length %d, got %d: %v", i, len(scenario.out), len(actual), actual)
|
|
|
|
|
}
|
|
|
|
|
for j, out := range scenario.out {
|
|
|
|
|
if !out.Equal(actual[j]) {
|
|
|
|
|
if !out.Equal(&actual[j]) {
|
|
|
|
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -796,7 +796,7 @@ func TestGetValueRangeAtIntervalOp(t *testing.T) {
|
|
|
|
|
t.Fatalf("%d. expected length %d, got %d: %v", i, len(scenario.out), len(actual), actual)
|
|
|
|
|
}
|
|
|
|
|
for j, out := range scenario.out {
|
|
|
|
|
if !out.Equal(actual[j]) {
|
|
|
|
|
if !out.Equal(&actual[j]) {
|
|
|
|
|
t.Fatalf("%d. expected output %v, got %v", i, scenario.out, actual)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|