2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-06-26 22:33:12 +00:00
This commit is contained in:
2019-08-08 22:02:31 +03:00
parent 1bf0bc32ae
commit 1f76327ced
6 changed files with 259 additions and 66 deletions

View File

@ -1,15 +1,10 @@
import 'package:flutter_test/flutter_test.dart';
import "package:test/test.dart";
import 'package:esiur/esiur.dart';
void main() {
test('adds one to input values', () {
connect();
});
}
connect() async
main()
{
test("Connect to server", () async {
// connect to the server
var x = await Warehouse.get("iip://localhost:5000/db/my", {"username": "demo", "password": "1234"});
@ -27,5 +22,5 @@ connect() async
x.Level += 900;
print("Done");
});
}