- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for someFloat (0.08 sec)
-
src/syscall/js/js_test.go
func TestFloat(t *testing.T) { want := 42.123 o := dummys.Get("someFloat") if got := o.Float(); got != want { t.Errorf("got %#v, want %#v", got, want) } dummys.Set("otherFloat", want) if got := dummys.Get("otherFloat").Float(); got != want { t.Errorf("got %#v, want %#v", got, want) } if !dummys.Get("someFloat").Equal(dummys.Get("someFloat")) { t.Errorf("same value not equal") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0)