gitee.com/quant1x/num@v0.3.2/logic_equal_test.go (about)

     1  package num
     2  
     3  import (
     4  	"fmt"
     5  	"testing"
     6  )
     7  
     8  func TestEqual(t *testing.T) {
     9  	d1 := []float64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    10  	d2 := []float64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    11  	fmt.Println(Equal[float64](d1, d2))
    12  }