blob: 7830dc9da5da4795b4d5faf4b7ad8f590279d674 [file] [log] [blame]
// Copyright (c) 2011, 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.
/// @assertion num operator *(num other)
/// This operator implements the arithmetic multiply operation.
/// @description Checks that this operator returns correct value.
/// @author vasya
import "../../../Utils/expect.dart";
main() {
Expect.equals(1, 1 * 1);
Expect.equals(0, 1 * 0);
Expect.equals(4294967296, 2147483648 * 2);
}