Package wsh.opt.test

Class GaussNewtonSolverTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class GaussNewtonSolverTest
    extends junit.framework.TestCase
    Solve least-squares inverse of a Transform.
    • Constructor Summary

      Constructors 
      Constructor Description
      GaussNewtonSolverTest​(java.lang.String name)
      Standard constructor calls TestCase(name) constructor
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Run all tests with text gui if this class main is invoked
      protected void setUp()  
      static junit.framework.Test suite()
      This automatically generates a suite of all "test" methods
      protected void tearDown()  
      void testMain()
      Unit test code.
      • Methods inherited from class junit.framework.TestCase

        assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GaussNewtonSolverTest

        public GaussNewtonSolverTest​(java.lang.String name)
        Standard constructor calls TestCase(name) constructor
        Parameters:
        name - name of test case
    • Method Detail

      • testMain

        public void testMain()
                      throws java.lang.Exception
        Unit test code.
        Throws:
        java.lang.Exception - all errors
      • setUp

        protected void setUp()
                      throws java.lang.Exception
        Overrides:
        setUp in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • tearDown

        protected void tearDown()
                         throws java.lang.Exception
        Overrides:
        tearDown in class junit.framework.TestCase
        Throws:
        java.lang.Exception
      • suite

        public static junit.framework.Test suite()
        This automatically generates a suite of all "test" methods
        Returns:
        junit test
      • main

        public static void main​(java.lang.String[] args)
        Run all tests with text gui if this class main is invoked
        Parameters:
        args - command-line arguments