2016-12-20 12:03:37 -05:00
|
|
|
package function;
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertTrue;
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
import sexpression.*;
|
|
|
|
|
|
|
|
public class LispFunctionTester {
|
|
|
|
|
|
|
|
@Test
|
2017-03-01 11:11:59 -05:00
|
|
|
public void evaluateArguments() {
|
2016-12-20 12:03:37 -05:00
|
|
|
LispFunction lispFunction = new LispFunction() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public SExpression call(Cons argList) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
assertTrue(lispFunction.evaluateArguments());
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|