blob: d21e1e3b56e2c3a9c965dff1b9a2d1fdafca5c8e [file] [log] [blame]
// Copyright (c) 2019, 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.
// @dart = 2.9
extension TestExtension on int {
bool get isPositive => this > 0;
bool get isNegative => this < 0;
}
extension UnusedExtension on int {
bool get isReallyZero => this == 0;
}