package thirtyDays.calculator;

import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import util.testTools;

import java.io.IOException;

public class SolutionTest {
    @Rule
    public TemporaryFolder testFolder = new TemporaryFolder();

    @Test
    public void testSolution1()throws IOException, ClassNotFoundException, NoSuchMethodException {
        int TEST = 1;
        // assertion
        Assert.assertTrue(new testTools().compareFiles(
                TEST,
                this.getClass().getPackage().getName(),
                this.getClass().getName().substring(0,this.getClass().getName().length() - 4),
                testFolder));
    }
}
