blob: 7992e0ff4486519acd2ec3c513256ca276acd7d7 [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.
/// Basic implementation of an unmodifiable [Map].
/// This class has a basic implementation of all but two of the members of an
/// unmodifiable [Map]. A simple unmodifiable [Map] class can be implemented by
/// extending this class and implementing [keys] and operator[].
/// @description Checks that unmodifiable map base is created.
/// @author
import "unmodifiablemapbase.lib.dart";
main() {
new UnmodifiableMapBaseImpl({1 : 1, 2 : 23, 37 : 49});
new UnmodifiableMapBaseImpl({});