test_cases.hpp 1.1 KB

123456789101112131415161718192021222324252627282930
  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. {100, {1.5, 1}, "Hong Du testcase:i"},
  20. {1000, {0.75, 0}, "Hong Du testcase:d"},
  21. // passes but takes too long
  22. // {10000, {1.33, 1e-5}, "Hong Du testcase:f"},
  23. // fails for nearfield in any precision, TODO fixme
  24. // {100, {10, 10}, "Hong Du testcase:l"},
  25. // {10000, {1.5, 1}, "Hong Du testcase:j"},
  26. // {10000, {10, 10}, "Hong Du testcase:m"},
  27. };
  28. #endif // SCATTNLAY_TESTS_TEST_CASES_HPP_