(t *testing.T)
| 104 | } |
| 105 | |
| 106 | func Test_int64ToString(t *testing.T) { |
| 107 | type args struct { |
| 108 | n int64 |
| 109 | } |
| 110 | tests := []struct { |
| 111 | name string |
| 112 | args args |
| 113 | want string |
| 114 | }{ |
| 115 | { |
| 116 | name: "Test Int64", |
| 117 | args: args{ |
| 118 | n: 7684873721715404507, |
| 119 | }, |
| 120 | want: "7684873721715404507", |
| 121 | }, |
| 122 | } |
| 123 | for _, tt := range tests { |
| 124 | t.Run(tt.name, func(t *testing.T) { |
| 125 | if got := int64ToString(tt.args.n); got != tt.want { |
| 126 | t.Errorf("int64ToString() = %v, want %v", got, tt.want) |
| 127 | } |
| 128 | }) |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | func Test_float32ToString(t *testing.T) { |
| 133 | type args struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…