mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-27 09:50:40 +00:00
17 lines
500 B
Dart
17 lines
500 B
Dart
|
import 'package:lightmeter/data/models/supported_locale.dart';
|
||
|
import 'package:test/test.dart';
|
||
|
|
||
|
void main() {
|
||
|
test('intlName', () {
|
||
|
expect(SupportedLocale.en.intlName, 'en');
|
||
|
expect(SupportedLocale.fr.intlName, 'fr');
|
||
|
expect(SupportedLocale.ru.intlName, 'ru');
|
||
|
});
|
||
|
|
||
|
test('localizedName', () {
|
||
|
expect(SupportedLocale.en.localizedName, 'English');
|
||
|
expect(SupportedLocale.fr.localizedName, 'Français');
|
||
|
expect(SupportedLocale.ru.localizedName, 'Русский');
|
||
|
});
|
||
|
}
|