public void ConstantParsedDoesNotTakeBadInput() { // still not sure why this doesn't work. ConstantParser TestConstantParser = new ConstantParser(); bool results = TestConstantParser.ConstTest("xy = 0"); Assert.AreEqual(false, results); }
public void ConstantParsing() { ConstantParser TestConstantParser = new ConstantParser(); bool results = TestConstantParser.ConstTest("t = 0"); Assert.AreEqual(true, results); }
public void ConstantParsedDoesNotTakeBadInput2() { ConstantParser TestConstantParser = new ConstantParser(); bool results = TestConstantParser.ConstTest("0 = x"); Assert.AreEqual(false, results); }