Package hydra.testing

Class NormalizeTypeVariablesTestCase

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<NormalizeTypeVariablesTestCase>

    public class NormalizeTypeVariablesTestCase
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<NormalizeTypeVariablesTestCase>
    A test case which normalizes type variables in a term (renaming them to t0, t1, t2, etc.) and compares the result with the expected term
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
      • INPUT

        public static final Name INPUT
      • OUTPUT

        public static final Name OUTPUT
      • input

        public final Term input
        The term with type annotations to normalize
      • output

        public final Term output
        The expected term with normalized type variable names
    • Constructor Detail

      • NormalizeTypeVariablesTestCase

        public NormalizeTypeVariablesTestCase​(Term input,
                                              Term output)