blob: b9c768d0f54081a7ec8a5e030f919e4b3b7c9e1d [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.
// @dart = 2.9
/// @assertion Map<K, V> abstract class
/// @description Checks that all members of [Map] are implemented.
/// @author kaigorodov
import "compKeysTests.lib.dart" as compKeysTests;
import "compKeysWarnTests.lib.dart" as compKeysWarnTests;
import "nonCompKeysTests.lib.dart" as nonCompKeysTests;
Map create([Map content]) {
if (content == null) {
return new Map();
} else {
return new Map.from(content);
}
}
main() {
compKeysTests.test(create);
compKeysWarnTests.test(create);
nonCompKeysTests.test(create);
}