Skip to content
Snippets Groups Projects
  1. Oct 17, 2018
    • Joseph Weston's avatar
      use fewer and smaller matrix sizes in tests · 94ce0d48
      Joseph Weston authored
      We're just checking that everything is wired up correctly, and
      applying the zero-one-infinity rule tells us that we don't need
      to test many different matrix sizes for this. Prior to this change
      the tests took ~10 seconds to run, now they take <1 second.
      94ce0d48
    • Joseph Weston's avatar
      compactify array equality checks · 1db0505a
      Joseph Weston authored
      There is no need to take the difference of the two arrays, nor
      to take the absolute value or max (assert_array_almost_equal already
      does this for us). Similarly, there is no need to compare the real
      and imaginary parts separately.
      1db0505a
    • Joseph Weston's avatar
      reword explanation of precision limits in tests · 000ab664
      Joseph Weston authored
      Use more concise language, and make it clear where the precision
      limits originate from. Also, use proper comments as opposed to
      string literals.
      000ab664
    • Kelvin Loh's avatar
      update tests to handle all supported datatypes · ff1ee1d2
      Kelvin Loh authored and Joseph Weston's avatar Joseph Weston committed
      Change the criterion for array equal assertion
      to the infinity norm of the residual.
      Remove the kwant dependency of the test script.
      ff1ee1d2
  2. Oct 16, 2018
  3. Oct 15, 2018
  4. Oct 11, 2018
  5. Oct 01, 2018
  6. Feb 22, 2018
  7. Nov 16, 2017
  8. Sep 29, 2017
  9. Jun 20, 2017
  10. Feb 03, 2017
  11. Feb 02, 2017
Loading