package com.menzus.gcj._2012.qualification.b;

import com.menzus.gcj.common.InputBlockParser;
import com.menzus.gcj.common.OutputProducer;
import com.menzus.gcj.common.impl.AbstractProcessorFactory;

public class BProcessorFactory extends AbstractProcessorFactory<BInput, BOutputEntry> {
    public BProcessorFactory(String inputFileName) {
	super(inputFileName);
    }

    @Override
    protected InputBlockParser<BInput> createInputBlockParser() {
	return new BInputBlockParser();
    }

    @Override
    protected OutputProducer<BInput, BOutputEntry> createOutputProducer() {
	return new BOutputProducer();
    }
}

package com.google.codejam.googlers;

/**
 * Class to hold the result of given test case.
 * @author Sushant Deshpande
 */
public class TestResult {

    /**
     * variable to represent testOutput.
     */
    private int testOutput;


    /**
     * Constructor to create TestResult with testOutput.
     * @param testOutput   String
     */
    public TestResult(final int testOutput) {
        this.testOutput = testOutput;
    }

    /**
     * Getter method for test output.
     * @return String
     */
    public  final int getTestOutput() {
        return testOutput;
    }

}