flutter/examples/layers/test/sector_test.dart
Alexandre Ardhuin d927c93310
Unnecessary new (#20138)
* enable lint unnecessary_new

* fix tests

* fix tests

* fix tests
2018-09-12 08:29:29 +02:00

19 lines
517 B
Dart

// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import '../rendering/src/sector_layout.dart';
import '../widgets/sectors.dart';
void main() {
test('SectorConstraints', () {
expect(const SectorConstraints().isTight, isFalse);
});
testWidgets('Sector Sixes', (WidgetTester tester) async {
await tester.pumpWidget(SectorApp());
});
}