// Path: advance/src/java/com/dwarfartisan/parsec/Combinator.java
// public static <T, E, Status, Tran> Parsec<T, E, Status, Tran> skip1(Parsec<T, E, Status, Tran> parser) {
//     return new Skip1<>(parser);
// }
// 
// Path: advance/src/java/com/dwarfartisan/parsec/Txt.java
// public static <Status, Tran> Parsec<String, Character, Status, Tran> text(String value) {
//     return new Text<>(value);
// }


import org.hamcrest.core.IsEqual;
import org.hamcrest.core.IsInstanceOf;
import org.hamcrest.core.IsNull;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import static com.dwarfartisan.parsec.Combinator.skip1;
import static com.dwarfartisan.parsec.Txt.text;
package com.dwarfartisan.parsec;



/**
 * Created by Mars Liu on 16/1/10.
 *
 * Skip1 tests
 */
public class Skip1Test extends Base {
    @Before
    public void before() throws Exception {
    }

    @After
    public void after() throws Exception {
    }
    /**
     * Method: parse(State<E> s)
     */
    @Test
    public void simple() throws Exception {
        State<Character, Integer, Integer> state = newState("left right left right");
// Path: advance/src/java/com/dwarfartisan/parsec/Combinator.java
// public static <T, E, Status, Tran> Parsec<T, E, Status, Tran> skip1(Parsec<T, E, Status, Tran> parser) {
//     return new Skip1<>(parser);
// }
// 
// Path: advance/src/java/com/dwarfartisan/parsec/Txt.java
// public static <Status, Tran> Parsec<String, Character, Status, Tran> text(String value) {
//     return new Text<>(value);
// }


// Path: advance/test/java/com/dwarfartisan/parsec/Skip1Test.java
import org.hamcrest.core.IsEqual;
import org.hamcrest.core.IsInstanceOf;
import org.hamcrest.core.IsNull;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import static com.dwarfartisan.parsec.Combinator.skip1;
import static com.dwarfartisan.parsec.Txt.text;

package com.dwarfartisan.parsec;



/**
 * Created by Mars Liu on 16/1/10.
 *
 * Skip1 tests
 */
public class Skip1Test extends Base {
    @Before
    public void before() throws Exception {
    }

    @After
    public void after() throws Exception {
    }
    /**
     * Method: parse(State<E> s)
     */
    @Test
    public void simple() throws Exception {
        State<Character, Integer, Integer> state = newState("left right left right");
        Parsec<String, Character, Integer, Integer> parser = skip1(text("left"));