public void Function_ContainsFunctions_ResultMustBeIsFalse() { var storage = new FunctionsStorage(); storage.AddFunction("linear", new LinearFunction(2.3, 5)); var result = storage.ContainsFunctions("Linear"); Assert.IsFalse(result); }
public void Function_DeleteFunction_ResultMustBeIsTrue() { var storage = new FunctionsStorage(); storage.AddFunction("Cos", new CosineFunction()); storage.DeleteFunction("Cos"); var result = storage.ContainsFunctions("Cos"); Assert.IsFalse(result); }