Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRatBin (0.16 sec)

  1. src/math/big/rat_test.go

    }
    
    func TestRatBin(t *testing.T) {
    	for i, test := range ratBinTests {
    		arg := ratBinArg{test.x, test.y, test.sum}
    		testRatBin(t, i, "Add", (*Rat).Add, arg)
    
    		arg = ratBinArg{test.y, test.x, test.sum}
    		testRatBin(t, i, "Add symmetric", (*Rat).Add, arg)
    
    		arg = ratBinArg{test.sum, test.x, test.y}
    		testRatBin(t, i, "Sub", (*Rat).Sub, arg)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
Back to top