(t *testing.T)
| 6 | ) |
| 7 | |
| 8 | func Test_rotateString(t *testing.T) { |
| 9 | type args struct { |
| 10 | A string |
| 11 | B string |
| 12 | } |
| 13 | tests := []struct { |
| 14 | name string |
| 15 | args args |
| 16 | want bool |
| 17 | }{ |
| 18 | { |
| 19 | name: "", |
| 20 | args: args{ |
| 21 | A: "bbbacddceeb", |
| 22 | B: "ceebbbbacdd", |
| 23 | }, |
| 24 | want: true, |
| 25 | }, |
| 26 | } |
| 27 | for _, tt := range tests { |
| 28 | t.Run(tt.name, func(t *testing.T) { |
| 29 | assert.Equal(t, tt.want, rotateString(tt.args.A, tt.args.B)) |
| 30 | }) |
| 31 | } |
| 32 | } |
nothing calls this directly
no test coverage detected