sernatur/test/money.vala

11 lines
272 B
Vala
Raw Normal View History

2019-01-15 16:39:41 -03:00
namespace SernaturTest {
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;
}
}