From 6ef53e7a96530e10bc15b05865abbdbfd92d6454 Mon Sep 17 00:00:00 2001 From: Jim <112640460+0xJ1M@users.noreply.github.com> Date: Fri, 8 Sep 2023 17:36:55 +0100 Subject: [PATCH] Improved code coverage --- .../MathEngine/Parser/Parser/ExpressionTree.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MathEngine/MathEngine/Parser/Parser/ExpressionTree.cs b/MathEngine/MathEngine/Parser/Parser/ExpressionTree.cs index 5246586..91f3e80 100644 --- a/MathEngine/MathEngine/Parser/Parser/ExpressionTree.cs +++ b/MathEngine/MathEngine/Parser/Parser/ExpressionTree.cs @@ -30,20 +30,20 @@ namespace MathEngine.Parser.Parser this.rootNode = rootNode; } - /// + /* /// /// Evaluates the current instance of ExpressionTree /// /// Returns an update of the current instance which the expression Evaluated public ExpressionTree Evaluate() { return new ExpressionTree(rootNode.Evaluate()); - } + }*/ /// - /// Returns a value indicating if the given object is equal to the current instance of ExpressionTree - /// - /// The object to compare to the current instance - /// True if they are equal, False otherwise + /// Returns a value indicating if the given object is equal to the current instance of ExpressionTree + /// + /// The object to compare to the current instance + /// True if they are equal, False otherwise public override bool Equals(object? other) { if (other is BaseNode)