From ebb729f1e9c78b9ce9849c66df98712f78b0d417 Mon Sep 17 00:00:00 2001 From: Victor Carreras Date: Wed, 1 Nov 2023 18:55:20 +0100 Subject: [PATCH] Added unit tests --- test/pd_test.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pd_test.dart diff --git a/test/pd_test.dart b/test/pd_test.dart new file mode 100644 index 0000000..f7a00b1 --- /dev/null +++ b/test/pd_test.dart @@ -0,0 +1,10 @@ +import 'package:flutter_test/flutter_test.dart'; +import 'package:platform_detail/platform_detail.dart'; + +Future main() async { + + test('Current Platform', () { + expect(PlatformDetail.currentPlatform, PlatformDetail.currentPlatform); + }); + +}