2017-03-01 11:11:59 -05:00
|
|
|
package function;
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertFalse;
|
|
|
|
|
|
|
|
import org.junit.Test;
|
|
|
|
|
|
|
|
import sexpression.*;
|
|
|
|
|
2017-03-15 13:37:39 -04:00
|
|
|
public class LispSpecialFunctionTest {
|
2017-03-01 11:11:59 -05:00
|
|
|
|
|
|
|
@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
|
|
|
}
|
|
|
|
|
|
|
|
}
|