blob: d2377a9981f6d81f704992cd9278eab61207ed78 [file] [log] [blame]
// Copyright (c) 2017, 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 ProcessInfo()
/// @description Checks that constructor [ProcessInfo] creates a new object of
/// type ProcessInfo and two objects created with this constructor are different.
/// @author
import "dart:io";
import "../../../Utils/expect.dart";
main() {
var pi = new ProcessInfo();
Expect.isTrue(pi is ProcessInfo);
Expect.isFalse(pi == new ProcessInfo());