| Index: sky/tests/framework/color_accessors.dart
|
| diff --git a/sky/tests/framework/color_accessors.dart b/sky/tests/framework/color_accessors.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..93b03c670c0314c04c22c3e1a7b740c923cc803c
|
| --- /dev/null
|
| +++ b/sky/tests/framework/color_accessors.dart
|
| @@ -0,0 +1,19 @@
|
| +// 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 'dart:sky';
|
| +import '../resources/third_party/unittest/unittest.dart';
|
| +import '../resources/unit.dart';
|
| +
|
| +void main() {
|
| + initUnit();
|
| +
|
| + test("color accessors should work", () {
|
| + Color foo = new Color(0x12345678);
|
| + expect(foo.alpha, equals(0x12));
|
| + expect(foo.red, equals(0x34));
|
| + expect(foo.green, equals(0x56));
|
| + expect(foo.blue, equals(0x78));
|
| + });
|
| +}
|
|
|