// Path: src/main/java/ch/codebulb/lambdaomega/L.java
// public static <T> L<T> l() {
//     return new L<>(new ArrayList<>());
// }
// 
// Path: src/main/java/ch/codebulb/lambdaomega/M.java
// public static M m() {
//     return m(new LinkedHashMap<>());
// }
// 
// Path: src/test/java/ch/codebulb/lambdaomega/TestUtil.java
// public static <T> void assertEquals(T expected, T... actual) {
//     Arrays.stream(actual).forEach(it -> Assert.assertEquals(expected, it));
// }


import static ch.codebulb.lambdaomega.L.l;
import static ch.codebulb.lambdaomega.M.m;
import static ch.codebulb.lambdaomega.TestUtil.assertEquals;
import org.junit.Test;
package ch.codebulb.lambdaomega;


// Separated from other tests, because here, we want to explicitly call #toMap()
public class LToMapTest {
    @Test
    public void testToMap() {
// Path: src/main/java/ch/codebulb/lambdaomega/L.java
// public static <T> L<T> l() {
//     return new L<>(new ArrayList<>());
// }
// 
// Path: src/main/java/ch/codebulb/lambdaomega/M.java
// public static M m() {
//     return m(new LinkedHashMap<>());
// }
// 
// Path: src/test/java/ch/codebulb/lambdaomega/TestUtil.java
// public static <T> void assertEquals(T expected, T... actual) {
//     Arrays.stream(actual).forEach(it -> Assert.assertEquals(expected, it));
// }


// Path: src/test/java/ch/codebulb/lambdaomega/LToMapTest.java
import static ch.codebulb.lambdaomega.L.l;
import static ch.codebulb.lambdaomega.M.m;
import static ch.codebulb.lambdaomega.TestUtil.assertEquals;
import org.junit.Test;

package ch.codebulb.lambdaomega;


// Separated from other tests, because here, we want to explicitly call #toMap()
public class LToMapTest {
    @Test
    public void testToMap() {
        assertEquals(m(0, "a").i(1, "b").i(2, "c").m, l("a", "b", "c").toMap());