@@ -0,0 +1,1258 @@
+package org.nwapw.abacus.tests;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.BeforeClass;%0Aimport org.nwapw.abacus.Abacus;%0Aimport org.nwapw.abacus.number.NumberInterface;%0Aimport org.nwapw.abacus.plugin.StandardPlugin;%0Aimport org.nwapw.abacus.tree.TreeNode;%0A%0Apublic class CalculationTests %7B%0A%0A    private static Abacus abacus = new Abacus();%0A%0A    @BeforeClass%0A    public static void prepareTests()%7B%0A        abacus.getPluginManager().addInstantiated(new StandardPlugin(abacus.getPluginManager()));%0A        abacus.getPluginManager().load();%0A    %7D%0A%0A    private void testOutput(String input, String parseOutput, String output)%7B%0A        TreeNode parsedTree = abacus.parseString(input);%0A        Assert.assertNotNull(parsedTree);%0A        Assert.assertEquals(parsedTree.toString(), parseOutput);%0A        NumberInterface result = abacus.evaluateTree(parsedTree);%0A        Assert.assertNotNull(result);%0A        Assert.assertTrue(result.toString().startsWith(output));%0A    %7D%0A%0A    private void testEvalError(String input, String parseOutput)%7B%0A        TreeNode parsedTree = abacus.parseString(input);%0A        Assert.assertNotNull(parsedTree);%0A        Assert.assertEquals(parsedTree.toString(), parseOutput);%0A        Assert.assertNull(abacus.evaluateTree(parsedTree));%0A    %7D%0A%0A%7D%0A

Write two functions to help test the code.