Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for test_uint (0.29 sec)

  1. src/expvar/expvar_test.go

    		vars.m.Delete(k)
    	}
    	vars.keys = nil
    }
    
    func TestNil(t *testing.T) {
    	RemoveAll()
    	val := Get("missing")
    	if val != nil {
    		t.Errorf("got %v, want nil", val)
    	}
    }
    
    func TestInt(t *testing.T) {
    	RemoveAll()
    	reqs := NewInt("requests")
    	if i := reqs.Value(); i != 0 {
    		t.Errorf("reqs.Value() = %v, want 0", i)
    	}
    	if reqs != Get("requests").(*Int) {
    		t.Errorf("Get() failed.")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/syscall/js/js_test.go

    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	if got, want := js.Global().Get("setTimeout").String(), "<function>"; got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    }
    
    func TestInt(t *testing.T) {
    	want := 42
    	o := dummys.Get("someInt")
    	if got := o.Int(); got != want {
    		t.Errorf("got %#v, want %#v", got, want)
    	}
    	dummys.Set("otherInt", want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/main/resources/header.html

                            <li><a href="../userguide/dataflow_actions.html">Dataflow Actions</a></li>
                            <li><a href="../userguide/test_kit.html">Testing with TestKit</a></li>
                            <li><a href="../userguide/ant.html">Using Ant from Gradle</a></li>
                        </ul>
                    </li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top