sernatur/test/money.vala

9 lines
238 B
Vala

using LibSernatur.Misc;
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;
}