Files
sdk/tests/lib_2/html/util.dart
T
Jakob Roland Andersen a46ee1294a Migrated test batch 212 to Dart 2.0.
Bug:
Change-Id: I2a062b9c1c2889355cc85884243bac580f3dce09
Reviewed-on: https://dart-review.googlesource.com/10480
Commit-Queue: Jakob Roland Andersen <jakobr@google.com>
Reviewed-by: Florian Loitsch <floitsch@google.com>
2017-10-05 05:16:20 +00:00

18 lines
492 B
Dart

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library test.html.util;
import 'dart:html';
import 'package:expect/minitest.dart';
void expectEmptyRect(Rectangle rect) {
expect(rect.bottom, 0);
expect(rect.top, 0);
expect(rect.left, 0);
expect(rect.right, 0);
expect(rect.height, 0);
expect(rect.width, 0);
}