Added DynamicDataProvider

This commit is contained in:
Trial97
2020-05-19 17:04:39 +03:00
committed by Dan Christian Bogos
parent c5b472c93a
commit da9344128c
12 changed files with 578 additions and 92 deletions

View File

@@ -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) {