WIP: Implemented a rough system for function evaluation

This commit is contained in:
Jim
2025-10-29 22:32:22 +00:00
parent c527e59b57
commit 16c27a0070
17 changed files with 1147 additions and 86 deletions

View File

@@ -4,6 +4,7 @@ using MathEngine.AST.Nodes;
using MathEngine.Tokenizer;
using static MathEngine.Tokenizer.Token;
using MathEngine.Types;
namespace EngineTests.Parser_Tests.Nodes
{
@@ -18,8 +19,8 @@ namespace EngineTests.Parser_Tests.Nodes
[Fact]
public void TestNodeFactoryBinaryNodesOnDefinedOperations()
{
NumericNode<decimal> node1 = new(200);
NumericNode<decimal> node2 = new(100);
NumericNode node1 = new(new DecimalValue(200));
NumericNode node2 = new(new DecimalValue(100));
Token plus = Token.Plus;
Token minus = Token.Minus;