v / vlib / strconv / f32_ten_pow_table_range_test.v
6 lines · 5 sloc · 186 bytes · 0a5eb6f3348f84384e31cf04b79fd21b68434a09
Raw
1module strconv
2
3fn test_issue_20877_ten_pow_table_32_stays_in_u32_range() {
4 assert ten_pow_table_32.len == 10
5 assert ten_pow_table_32[ten_pow_table_32.len - 1] == u32(1_000_000_000)
6}
7