| // Copyright (c) 2016, 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 SplayTreeSet([int compare(E key1, E key2), |
| /// bool isValidKey(potentialKey)]) |
| /// A Set of objects that can be ordered relative to each other. |
| /// @description Checks that an empty set is created |
| /// @author sgrekhov@unipro.ru |
| |
| import "dart:collection"; |
| import "../../../Utils/expect.dart"; |
| |
| main() { |
| SplayTreeSet set = new SplayTreeSet(); |
| Expect.isTrue(set.isEmpty); |
| } |