Reworked script function attribute, added initial math library

This commit is contained in:
2018-12-07 16:11:52 +01:00
parent 9bd82174f2
commit ac05647d71
15 changed files with 95 additions and 29 deletions

View File

@@ -50,7 +50,7 @@ namespace UpsilonTests.GeneralTests
[Theory]
[InlineData("1/1", 1)]
[InlineData("1000 / 10", 100)]
[InlineData("656486 / 5146", 127)]
[InlineData("656486 / 5146", 127.57209483)]
[InlineData("656486 / 5146.0", 127.57209483)]
public void Divison(string input, double expectedOutput)
{