1 package org.drools.semantics.python;
2
3 import junit.framework.TestCase;
4
5 public class InterpTest extends TestCase
6 {
7 private Interp interp;
8
9 public InterpTest(String name)
10 {
11 super( name );
12 }
13
14 public void setUp()
15 {
16 this.interp = new Interp();
17 }
18
19 public void tearDown()
20 {
21 this.interp = null;
22 }
23
24 public void testSetText()
25 {
26 this.interp.setText( "42 + 42", "eval" );
27
28 assertNotNull( this.interp.getCode() );
29 }
30 }
This page was automatically generated by Maven