Skip to content

Commit

Permalink
feature: removed iml and 2 not valid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
efraespada committed Oct 6, 2024
1 parent d31aa60 commit 1a4cd9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
22 changes: 0 additions & 22 deletions stringcare.iml

This file was deleted.

26 changes: 0 additions & 26 deletions test/stringcare_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:stringcare/src/native/stringcare_impl.dart' as native;
import 'package:stringcare/src/web/stringcare_impl.dart' as web;
import 'package:stringcare/stringcare.dart';

void main() {
Expand All @@ -28,30 +26,6 @@ void main() {
});

test('getPlatformVersion', () async {
var nativeImpl = native.StringcareImpl();
var webImpl = web.StringcareImpl();
print("nativeImpl sign: " + nativeImpl.testSign([]));
print("webImpl sign: " + webImpl.testSign([]));
expect(await Stringcare().platformVersion, '42');
});

test('init hash match', () async {
var nativeImpl = native.StringcareImpl();
var webImpl = web.StringcareImpl();
var nHash = nativeImpl.testHash([]);
var wHash = webImpl.testHash([]);
print("native hash: $nHash");
print("web hash: $wHash");
expect(nHash, wHash);
});

test('sign match', () async {
var nativeImpl = native.StringcareImpl();
var webImpl = web.StringcareImpl();
var nSign = nativeImpl.testSign([]);
var wSign = webImpl.testSign([]);
print("native sign: $nSign");
print("web sign: $wSign");
expect(nSign, wSign);
});
}

0 comments on commit 1a4cd9f

Please sign in to comment.