Clean up code
This commit is contained in:
parent
d95b5cc46f
commit
7416e0e163
|
@ -3,13 +3,12 @@ package function.builtin
|
|||
import function.ArgumentValidator
|
||||
import function.FunctionNames
|
||||
import function.LispFunction
|
||||
import function.builtin.Eval.Companion.applyFunction
|
||||
import function.builtin.Eval.Companion.lookupFunctionOrLambda
|
||||
import sexpression.Cons
|
||||
import sexpression.SExpression
|
||||
import table.FunctionTable
|
||||
|
||||
import function.builtin.Eval.Companion.applyFunction
|
||||
import function.builtin.Eval.Companion.lookupFunctionOrLambda
|
||||
|
||||
@FunctionNames("APPLY")
|
||||
class Apply(name: String) : LispFunction() {
|
||||
|
||||
|
|
|
@ -6,10 +6,12 @@ import function.ArgumentValidator.TooManyArgumentsException
|
|||
import org.junit.jupiter.api.Assertions.assertThrows
|
||||
import org.junit.jupiter.api.Test
|
||||
import sexpression.Symbol
|
||||
import testutil.LispTestInstance
|
||||
import testutil.SymbolAndFunctionCleaner
|
||||
import testutil.TestUtilities.assertSExpressionsMatch
|
||||
import testutil.TestUtilities.evaluateString
|
||||
|
||||
@LispTestInstance
|
||||
class FuseTest : SymbolAndFunctionCleaner() {
|
||||
|
||||
@Test
|
||||
|
|
|
@ -4,6 +4,7 @@ import function.ArgumentValidator.TooManyArgumentsException
|
|||
import function.builtin.Gensym.Companion.GENSYM_PREFIX
|
||||
import org.junit.jupiter.api.Assertions.assertThrows
|
||||
import org.junit.jupiter.api.Test
|
||||
import testutil.LispTestInstance
|
||||
import testutil.SymbolAndFunctionCleaner
|
||||
import testutil.TestUtilities.assertSExpressionsDoNotMatch
|
||||
import testutil.TestUtilities.assertSExpressionsMatch
|
||||
|
@ -11,6 +12,7 @@ import testutil.TestUtilities.evaluateString
|
|||
import testutil.TypeAssertions.assertSymbol
|
||||
import token.TokenFactory.BadCharacterException
|
||||
|
||||
@LispTestInstance
|
||||
class GensymTest : SymbolAndFunctionCleaner() {
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue