mirror of
https://github.com/appwrite/sdk-for-flutter.git
synced 2026-04-07 19:27:41 +00:00
17 lines
349 B
Dart
17 lines
349 B
Dart
import 'package:appwrite/appwrite.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
void main() {
|
|
group('unique()', () {
|
|
test('returns unique ID', () {
|
|
expect((ID.unique()).length, 20);
|
|
});
|
|
});
|
|
|
|
group('custom()', () {
|
|
test('returns the custom string', () {
|
|
expect(ID.custom('custom'), 'custom');
|
|
});
|
|
});
|
|
}
|