feat: add alot

This commit is contained in:
2026-10-08 04:12:36 +02:00
parent ccf5165417
commit fc607cb7bd
99 changed files with 4981 additions and 3655 deletions
+22
View File
@@ -0,0 +1,22 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:kooltap/utils/money.dart';
void main() {
group('Cents.asEuro', () {
test('formats cents in Belgian notation', () {
expect(1234.asEuro, '€ 12,34');
});
test('formats zero', () {
expect(0.asEuro, '€ 0,00');
});
test('formats whole euros with two decimals', () {
expect(500.asEuro, '€ 5,00');
});
test('groups thousands', () {
expect(123456.asEuro, '€ 1.234,56');
});
});
}