(t *testing.T)
| 78 | } |
| 79 | |
| 80 | func Test_int32ToString(t *testing.T) { |
| 81 | type args struct { |
| 82 | n int32 |
| 83 | } |
| 84 | tests := []struct { |
| 85 | name string |
| 86 | args args |
| 87 | want string |
| 88 | }{ |
| 89 | { |
| 90 | name: "Test Int32", |
| 91 | args: args{ |
| 92 | n: 65535, |
| 93 | }, |
| 94 | want: "65535", |
| 95 | }, |
| 96 | } |
| 97 | for _, tt := range tests { |
| 98 | t.Run(tt.name, func(t *testing.T) { |
| 99 | if got := int32ToString(tt.args.n); got != tt.want { |
| 100 | t.Errorf("int32ToString() = %v, want %v", got, tt.want) |
| 101 | } |
| 102 | }) |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | func Test_int64ToString(t *testing.T) { |
| 107 | type args struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…