elan-language / Documentation

0 stars 0 forks source link

Get basic Elan test compiling #138

Open richardpawson opened 7 months ago

richardpawson commented 7 months ago

There is a test in TT138_ElanUnitTest.

At this stage the aim is not to get the tests running, just compiled.

However, if there was any easy way to run the Elan-source tests withinour own tests e.g.

    var compileData = Pipeline.Compile(new CompileData { ElanCode = code });
    AssertParses(compileData);
    AssertParseTreeIs(compileData, parseTree);
    AssertCompiles(compileData);
    AssertObjectCodeIs(compileData, objectCode);
    **AssertAnyElanTestsPass();**

then that would be great.