PHPExcel
[ class tree: PHPExcel ] [ index: PHPExcel ] [ all elements ]

Source for file test.php

Documentation is available at test.php

  1. <?php
  2. include_once "includes/header.php";
  3. include_once "includes/navbar.php";
  4. ?>
  5. <p>
  6. The first script your should run when you install Jama is the TestMatrix.php script.
  7. </p>
  8. <p>
  9. This will run the unit tests for methods in the <code>Matrix.php</code> class.  Because
  10. the Matrix.php class can be used to invoke all the decomposition methods the <code>TestMatrix.php</code> 
  11. script is a test suite for the whole Jama package.
  12. </p>
  13. <p>
  14. The original <code>TestMatrix.java</code> code uses try/catch error handling.  We will 
  15. eventually create a build of JAMA that will take advantage of PHP5's new try/catch error 
  16. handling capabilities.  This will improve our ability to replicate all the unit tests that 
  17. appeared in the original (except for some print methods that may not be worth porting).
  18. </p>
  19. <p>
  20. You can <a href='../test/TestMatrix.php'>run the TestMatrix.php script</a> to see what 
  21. unit tests are currently implemented.  The source of the <code>TestMatrix.php</code> script 
  22. is provided below.  It is worth studying carefully for an example of how to do matrix algebra
  23. programming with Jama.
  24. </p>
  25. <?php
  26. highlight_file("../test/TestMatrix.php");
  27. include_once "includes/footer.php";    
  28. ?>

Documentation generated on Sun, 27 Feb 2011 16:35:35 -0800 by phpDocumentor 1.4.3