Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnsupportedValues (0.13 sec)

  1. src/encoding/json/encode_test.go

    		t.Fatalf("Marshal error: %v", err)
    	}
    }
    
    func TestSliceNoCycle(t *testing.T) {
    	if _, err := Marshal(sliceNoCycle); err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    }
    
    func TestUnsupportedValues(t *testing.T) {
    	tests := []struct {
    		CaseName
    		in any
    	}{
    		{Name(""), math.NaN()},
    		{Name(""), math.Inf(-1)},
    		{Name(""), math.Inf(1)},
    		{Name(""), pointerCycle},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top