Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MyFloatSlice (0.09 sec)

  1. test/typeparam/double.go

    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    
    	got = _DoubleElems(arg)
    	if !reflect.DeepEqual(got, want) {
    		panic(fmt.Sprintf("got %s, want %s", got, want))
    	}
    
    	farg := MyFloatSlice{1.2, 2.0, 3.5}
    	fwant := MyFloatSlice{2.4, 4.0, 7.0}
    	fgot := _DoubleElems(farg)
    	if !reflect.DeepEqual(fgot, fwant) {
    		panic(fmt.Sprintf("got %s, want %s", fgot, fwant))
    	}
    
    	fgot = _DoubleElems2(farg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top