- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestRTrimSlice (0.05 seconds)
-
utils/utils_test.go
t.Run(test.name, func(t *testing.T) { if out := ToString(test.in); test.out != out { t.Fatalf("ToString(%v) want: %s, got: %s", test.in, test.out, out) } }) } } func TestRTrimSlice(t *testing.T) { tests := []struct { name string input []int trimLen int expected []int }{ { name: "Trim two elements from end", input: []int{1, 2, 3, 4, 5},
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:31:30 GMT 2026 - 5.5K bytes - Click Count (0)