We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7923d27 commit cf6469fCopy full SHA for cf6469f
1 file changed
src/reflect/convert_test.go
@@ -181,6 +181,14 @@ func TestTinyConvert(t *testing.T) {
181
{V(float32(167)), V(float64(167))},
182
{V(float64(168)), V(float32(168))},
183
{V(float64(169)), V(float64(169))},
184
+
185
+ {V(float64(1.5)), V(int(1))},
186
187
+ // complex
188
+ {V(complex64(1i)), V(complex64(1i))},
189
+ {V(complex64(2i)), V(complex128(2i))},
190
+ {V(complex128(3i)), V(complex64(3i))},
191
+ {V(complex128(4i)), V(complex128(4i))},
192
}
193
194
for _, tt := range tests {
0 commit comments