finished interpreter. still need to test it
Some checks failed
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.10) (push) Has been cancelled
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.6) (push) Has been cancelled
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, pre) (push) Has been cancelled

This commit is contained in:
2024-08-18 11:55:41 +02:00
parent 62d10845e9
commit 929789b6ff
2 changed files with 79 additions and 50 deletions

View File

@ -41,6 +41,23 @@ end
@test isequal(result, reference)
end
@testset "Test Add Operator" begin
# One test with fixed values
# One test with variables
# One test with parameters
end
@testset "Test Subtract Operator" begin
# One test with fixed values
# One Test with fixed values but swapped
# One test with variables
# One test with parameters
end
@testset "Test Abs Operator" begin
# One test with fixed value
# One test with variable
# One test with parameter
end
# TODO: Add several tests fo the mathematical expressions
# One test for each operator. A second test if the operation order matters
# And some more complicated expressions, with some only having variables, some only having parameters and some having both