Package hydra.testing
Class FreeVariablesTestCase
java.lang.Object
hydra.testing.FreeVariablesTestCase
- All Implemented Interfaces:
Serializable,Comparable<FreeVariablesTestCase>
public class FreeVariablesTestCase
extends Object
implements Serializable, Comparable<FreeVariablesTestCase>
A test case which computes the free variables of a term and compares the result with an expected set of names
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(FreeVariablesTestCase other) booleaninthashCode()withOutput(Set<Name> output)
-
Field Details
-
TYPE_
-
INPUT
-
OUTPUT
-
input
The term to analyze -
output
The expected set of free variable names
-
-
Constructor Details
-
FreeVariablesTestCase
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<FreeVariablesTestCase>
-
withInput
-
withOutput
-