Package hydra.testing
Class FreeVariablesTestCase
- java.lang.Object
-
- hydra.testing.FreeVariablesTestCase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FreeVariablesTestCase>
public class FreeVariablesTestCase extends java.lang.Object implements java.io.Serializable, java.lang.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FreeVariablesTestCase(Term input, PersistentSet<Name> output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FreeVariablesTestCase other)booleanequals(java.lang.Object other)inthashCode()FreeVariablesTestCasewithInput(Term input)FreeVariablesTestCasewithOutput(PersistentSet<Name> output)
-
-
-
Constructor Detail
-
FreeVariablesTestCase
public FreeVariablesTestCase(Term input, PersistentSet<Name> output)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(FreeVariablesTestCase other)
- Specified by:
compareToin interfacejava.lang.Comparable<FreeVariablesTestCase>
-
withInput
public FreeVariablesTestCase withInput(Term input)
-
withOutput
public FreeVariablesTestCase withOutput(PersistentSet<Name> output)
-
-