- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestDurationAbs (0.16 sec)
-
src/time/time_test.go
{minDuration, maxDuration}, {minDuration + 1, maxDuration}, {minDuration + 2, maxDuration - 1}, {maxDuration, maxDuration}, {maxDuration - 1, maxDuration - 1}, } func TestDurationAbs(t *testing.T) { for _, tt := range durationAbsTests { if got := tt.d.Abs(); got != tt.want { t.Errorf("Duration(%s).Abs() = %s; want: %s", tt.d, got, tt.want) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0)