This commit is contained in:
otsmr 2025-04-14 21:30:40 +02:00
parent 613a4ef404
commit 0618ef873d
2 changed files with 13 additions and 10 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,15 +1,13 @@
// This is an example unit test.
//
// A unit test tests a single function, method, or class. To learn more about
// writing unit tests, visit
// https://flutter.dev/to/unit-testing
import 'package:flutter_test/flutter_test.dart';
import 'package:twonly/src/components/animate_icon.dart';
void main() {
group('Plus Operator', () {
test('should add two numbers together', () {
expect(1 + 1, 2);
group('isEmoji', () {
test('test isEmoji function', () {
expect(isEmoji("Hallo"), false);
expect(isEmoji("😂"), true);
expect(isEmoji("😂😂"), false);
expect(isEmoji("Hallo 😂"), false);
});
});
}