☰
Debian Codegraph
@
1.12.1-2
1.12.1-1
1.12.0-3
1.12.0-2
1.11.1-3
1.11.1-2
/
/
test cases
/
common
/
270 int_to_str_fill
/
meson.build
☽
☼
test cases/common/270 int_to_str_fill/meson.build
code
plain
raw
Apache-2.0
2012-2021 The Meson development team
debian/copyright
1
project('test_fill_in_int_to_string')
2
3
n = 4
4
assert(n.to_string() == '4')
5
assert(n.to_string(fill: 3) == '004')
6
assert(n.to_string(fill: -3) == '4')
7
8
n = -4
9
assert(n.to_string(fill: 3) == '-04')