test_cases.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. #ifndef SCATTNLAY_TESTS_TEST_CASES_HPP_
  2. #define SCATTNLAY_TESTS_TEST_CASES_HPP_
  3. //
  4. //
  5. #include <complex>
  6. #include <string>
  7. #include <tuple>
  8. #include <vector>
  9. std::vector<std::tuple<double, std::complex<double>, std::string> >
  10. parameters_bulk_sphere{
  11. // x, {Re(m), Im(m)}, test_name
  12. {0.099, {0.75, 0}, "Hong Du testcase:a"},
  13. {0.101, {0.75, 0}, "Hong Du testcase:b"},
  14. {10, {0.75, 0}, "Hong Du testcase:c"},
  15. {100, {1.33, 1e-5}, "Hong Du testcase:e"},
  16. {0.055, {1.5, 1}, "Hong Du testcase:g"},
  17. {0.056, {1.5, 1}, "Hong Du testcase:h"},
  18. {1, {10, 10}, "Hong Du testcase:k"},
  19. #ifdef SKIP_LONG_TESTS
  20. {100, {1.5, 1}, "Hong Du testcase:i"},
  21. {1000, {0.75, 0}, "Hong Du testcase:d"},
  22. // passes but takes too long
  23. {10000, {1.33, 1e-5}, "Hong Du testcase:f"},
  24. // fails in any precision, TODO fixme
  25. {100, {10, 10}, "Hong Du testcase:l"},
  26. {10000, {1.5, 1}, "Hong Du testcase:j"},
  27. {10000, {10, 10}, "Hong Du testcase:m"},
  28. #endif
  29. };
  30. #endif // SCATTNLAY_TESTS_TEST_CASES_HPP_