mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 14:48:43 +05:00
Added DynamicDataProvider
This commit is contained in:
committed by
Dan Christian Bogos
parent
c5b472c93a
commit
da9344128c
@@ -20,6 +20,7 @@ package utils
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"math"
|
||||
"reflect"
|
||||
"sync"
|
||||
"testing"
|
||||
@@ -952,6 +953,10 @@ func TestClone(t *testing.T) {
|
||||
} else if !reflect.DeepEqual(ifaceC, clndIface) {
|
||||
t.Errorf("Expecting: %+v, received: %+v", ifaceC, clndIface)
|
||||
}
|
||||
|
||||
if err := Clone(math.NaN, nil); err == nil {
|
||||
t.Error("Expected error")
|
||||
}
|
||||
}
|
||||
|
||||
func TestFib(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user