package test.kalang.tool;

import kalang.Script;
import kalang.tool.KalangShell;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author Kason Yang
 */
public class KalangShellTest {
    
    public KalangShellTest() {
    }
    
    @Test
    public void test(){
        KalangShell shell = new KalangShell();
        Script script = shell.parseScript("Test", "println(\"test\");", "Test.kl");
        script.run();
    }
    
}

@@ -435,16 +435,45 @@
 %0A       
+ assertEquals(Script.SUCCESS,
  script.
@@ -477,16 +477,17 @@
 pt.run()
+)
 ;%0D%0A    %7D

test result of Script::run