--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
import 'package:test/test.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
void main() {
group('LatLngBounds.isEmpty()', () {
test('empty.', () {
final LatLngBounds bounds = LatLngBounds();
final bool res = bounds.isEmpty();
expect(res, true);
});
test('not empty.', () {
final LatLngBounds bounds = LatLngBounds(
southwest: LatLng(10.0, 20.0),
northeast: LatLng(30.0, 40.0),
);
final bool res = bounds.isEmpty();
expect(res, false);
});
});
}
To use test, you need to add a dependency on package:test 1.5.1. If you're only importing package:flutter_test, then you don't need test.
See: https://github.com/flutter/flutter/wiki/Changelog
On Thu, Nov 8, 2018 at 7:51 AM, Ryan Gonzalez <rym...@gmail.com> wrote:
Uhh, it's still test... I think now you just need to manually add it to your pubspec's dev_dependencies.--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
On Thu, Nov 8, 2018, 7:44 AM Andreas Sumerauer <sume...@kanzlei-wmv.de wrote:
--Where has the test framework gone?Answer: it has been renamed to test_apiI had some serious trouble finding that out.Is there a mailing list or group to observe where these changes are announced?(I thought that this group would be the one.)Thanks!Andreas
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.