- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestMonotonicSub (0.36 sec)
-
src/time/mono_test.go
} if got, want := tn1.Compare(now), 1; got != want { t.Errorf("Now().Add(1*Hour).Compare(Now()) = %d, want %d", got, want) } } func TestMonotonicSub(t *testing.T) { t1 := Unix(1483228799, 995e6) SetMono(&t1, 123456789012345) t2 := Unix(1483228799, 5e6) SetMono(&t2, 123456789012345+10e6) t3 := Unix(1483228799, 995e6)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 19 17:10:49 UTC 2022 - 8.3K bytes - Viewed (0)