Class ExamineResultTypes


  • public class ExamineResultTypes
    extends java.lang.Object
    Class to examine the results types of the various operators and function. Can be called with 1 argument to just test a function or operator with that name java ExamineResultTypes sin java ExamineResultTypes +
    Author:
    Richard Morris
    • Method Detail

      • examineTypes

        public void examineTypes​(java.lang.String name,
                                 PostfixMathCommandI pfmc)
        Tests return types for a specific PostfixMathCommandI will test for 0,1,2 and 3 parameters
      • examineTypes

        public void examineTypes​(java.lang.String name,
                                 PostfixMathCommandI pfmc,
                                 int n)
        Tests return types for a specific PostfixMathCommandI with a specific number of parameters
      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args -