mirror of
https://github.com/0xJ1M/MathsEngine.git
synced 2026-06-05 02:10:08 +00:00
Feature/implement exponentiation (#6)
* Modified System to make each numeric node a non-generic for now. Implemented decimal exponentation. This is a draft implementation and is not intended for final release * Reverted change to NumericNode and fixed tests
This commit is contained in:
@@ -78,10 +78,8 @@ namespace EngineTests.Parser_Tests.Nodes
|
||||
[TestMethod]
|
||||
public void TestNodeFactoryNumericNodesOnDefinedTypes()
|
||||
{
|
||||
Token test_token1 = new("100", Token.Type.Numeric, Token.NumericType.Integer, 0);
|
||||
Token test_token2 = new("100.5", Token.Type.Numeric, Token.NumericType.Decimal, 0);
|
||||
|
||||
BaseNode testNode1 = NodeFactory.CreateNumericNode(test_token1);
|
||||
BaseNode testNode2 = NodeFactory.CreateNumericNode(test_token2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user