using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; namespace YesNt.Interpreter.Tests; [TestClass] public class CodeFlowTests { [TestMethod] public void FunctionTest() { List lines = [ "cal yes", "fnc yes", "!result" ]; YesNtAssert.IsLastLineEqual(lines, "1"); } [TestMethod] public void LabelsTest() { List lines = [ "result" ]; YesNtAssert.IsLastLineEqual(lines, "1"); } }