mirror of
https://github.com/0xJ1M/MathsEngine.git
synced 2026-06-04 23:50:08 +00:00
Improved code coverage
This commit is contained in:
@@ -30,20 +30,20 @@ namespace MathEngine.Parser.Parser
|
||||
this.rootNode = rootNode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/* /// <summary>
|
||||
/// Evaluates the current instance of ExpressionTree
|
||||
/// </summary>
|
||||
/// <returns>Returns an update of the current instance which the expression Evaluated</returns>
|
||||
public ExpressionTree Evaluate()
|
||||
{
|
||||
return new ExpressionTree(rootNode.Evaluate());
|
||||
}
|
||||
}*/
|
||||
|
||||
/// <summary>
|
||||
/// Returns a value indicating if the given object is equal to the current instance of ExpressionTree
|
||||
/// </summary>
|
||||
/// <param name="other">The object to compare to the current instance</param>
|
||||
/// <returns>True if they are equal, False otherwise</returns>
|
||||
/// Returns a value indicating if the given object is equal to the current instance of ExpressionTree
|
||||
/// </summary>
|
||||
/// <param name="other">The object to compare to the current instance</param>
|
||||
/// <returns>True if they are equal, False otherwise</returns>
|
||||
public override bool Equals(object? other)
|
||||
{
|
||||
if (other is BaseNode)
|
||||
|
||||
Reference in New Issue
Block a user