Test in engine/statmetrics.

This commit is contained in:
andronache
2021-01-11 13:51:49 +02:00
committed by Dan Christian Bogos
parent 5a3d48a9ea
commit dfc55dc23a

View File

@@ -3086,3 +3086,12 @@ func TestStatMetricsNewStatMetricError(t *testing.T) {
}
}
func TestStatMetricsGetMinItems(t *testing.T) {
asr, _ := NewASR(2, "", []string{})
result := asr.GetMinItems()
if !reflect.DeepEqual(result, 2) {
t.Errorf("\n Expecting <2>,\nRecevied <%+v>", result)
}
}