2017-03-01 11:11:59 -05:00
|
|
|
package function;
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertFalse;
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
import sexpression.*;
|
|
|
|
|
|
|
|
public class LispSpecialFunctionTester {
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void evaluateArguments() {
|
|
|
|
LispFunction lispFunction = new LispSpecialFunction() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public SExpression call(Cons argList) {
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2017-03-10 15:08:42 -05:00
|
|
|
assertFalse(lispFunction.isArgumentListEvaluated());
|
2017-03-01 11:11:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|