package jetbrains.mps.internal.collections.trove.test;

/*Generated by MPS */

import java.util.Map;
import jetbrains.mps.internal.collections.runtime.MapSequence;
import gnu.trove.decorator.TDoubleDoubleHashMapDecorator;
import gnu.trove.TDoubleDoubleHashMap;
import gnu.trove.decorator.TObjectDoubleHashMapDecorator;
import gnu.trove.TObjectDoubleHashMap;
import gnu.trove.decorator.TDoubleObjectHashMapDecorator;
import gnu.trove.TDoubleObjectHashMap;

public class InferredTroveMap_Test {
  /*package*/ void testCompilation() {
    // Should compile properly with inferred type parameter
    Map<Double, Double> mdd = MapSequence.fromMap(new TDoubleDoubleHashMapDecorator(new TDoubleDoubleHashMap()));
    Map<Double, Double> mdd2 = MapSequence.fromMap(new TObjectDoubleHashMapDecorator(new TObjectDoubleHashMap<>()));
    Map<Double, Double> mdd3 = MapSequence.fromMap(new TDoubleObjectHashMapDecorator(new TDoubleObjectHashMap<>()));
  }
}
