blob: d299495609f48d491154e83bed62d6f7d2487c30 [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 LinkedHashMap<K, V> abstract class implements HashMap<K, V>
* A hash-table based implementation of [Map].
* @description Checks that [LinkedHashMap] implements [HashMap].
* @author kaigorodov
*/
import "dart:collection";
import "../../core/Map/allTests_A01_t01.lib.dart";
Map create([Map? content]) {
if (content == null) {
return new LinkedHashMap();
} else {
return new LinkedHashMap.from(content);
}
}
main() {
test(create);
}