v2 / vlib / v / tests / consts / const_embed_test.v
9 lines · 7 sloc · 148 bytes · 6488041a749df9762348d019c4223908c476f2e2
Raw
1import math
2
3const max_float = math.max_f32
4
5fn test_const_embed() {
6 println(max_float)
7 println(math.max_f32)
8 assert max_float == math.max_f32
9}
10