mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Test in engine/statmetrics.
This commit is contained in:
committed by
Dan Christian Bogos
parent
5a3d48a9ea
commit
dfc55dc23a
@@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user