Skip to content
  1. May 30, 2016
  2. May 27, 2016
    • David Thompson's avatar
      Add Python test of Lagrange hexahedron operations. · 5e44f32d
      David Thompson authored
      This makes use of the new test infrastructure.
      5e44f32d
    • David Thompson's avatar
      Remove broken test for Lagrange quad comparison. · 14a34c62
      David Thompson authored
      Any Lagrange quads whose corners match will be considered
      identical by the geometry filter. This should work in all
      but the most degenerate configurations. The test is
      significantly more complicated if mid-edge and mid-face
      nodes are to be compared.
      14a34c62
    • David Thompson's avatar
      Fix Lagrange hexahedron operations... · a69c96a5
      David Thompson authored
      ... which failed when multiple elements were in the same mesh.
      a69c96a5
    • David Thompson's avatar
      Additional Python test infrastructure. · d407b1e0
      David Thompson authored
      Add several methods to the Testing base class that all VTK-Python
      unit tests should inherit:
      
      + `pathToData(filename)`, which returns the full path to an input
        dataset specified on the command line given just the filename
        part as an argument;
      + `pathToValidatedOutput(filename)`, which returns the full path
        to a file containing validated baseline output (such as an
        image) given just the filename part as an argument; and
      + `prepareTestImage(interactor)`, which can be used in place of
        `vtk.test.Testing.compareImage(...)` when no baseline exists
         yet. When invoked, it starts the interactor. When the interactor
         finishes, the camera position and window size are printed as
         a Python script that can be pasted into a test. Some mouse and
         keyboard events are also returned to the program and could be
         used to inject interaction events for testing widgets.
      
      These methods make Python unit tests, especially those involving
      image comparison, significantly simpler to write and maintain.
      d407b1e0
    • David Thompson's avatar
      8157e487
  3. May 26, 2016
  4. May 25, 2016
  5. May 24, 2016
  6. May 19, 2016
  7. May 18, 2016
  8. May 17, 2016
  9. May 16, 2016
Loading