sernatur/test/money.vala

9 lines
238 B
Vala
Raw Normal View History

2019-01-15 16:45:41 -03:00
using LibSernatur.Misc;
2019-01-15 16:39:41 -03:00
2019-01-15 16:45:41 -03:00
public static int main (string[] args) {
assert (Money.format_int (100000) == "$100.000");
assert (Money.format_uint (100000) == "$100.000");
assert (Money.format_string ("100000") == "$100.000");
return 0;
2019-01-15 16:39:41 -03:00
}