/dports/math/moab/fathomteam-moab-7bde9dfb84a8/test/mesquite/unit/ |
H A D | HexLagrangeShapeTest.cpp | 316 const double* expected_coeffs, in compare_coefficients() argument 328 ASSERT_VALUES_EQUAL( expected_coeffs[0], test_vals[0], loc ); in compare_coefficients() 329 ASSERT_VALUES_EQUAL( expected_coeffs[1], test_vals[1], loc ); in compare_coefficients() 330 ASSERT_VALUES_EQUAL( expected_coeffs[2], test_vals[2], loc ); in compare_coefficients() 331 ASSERT_VALUES_EQUAL( expected_coeffs[3], test_vals[3], loc ); in compare_coefficients() 332 ASSERT_VALUES_EQUAL( expected_coeffs[4], test_vals[4], loc ); in compare_coefficients() 333 ASSERT_VALUES_EQUAL( expected_coeffs[5], test_vals[5], loc ); in compare_coefficients() 334 ASSERT_VALUES_EQUAL( expected_coeffs[6], test_vals[6], loc ); in compare_coefficients() 335 ASSERT_VALUES_EQUAL( expected_coeffs[7], test_vals[7], loc ); in compare_coefficients() 336 ASSERT_VALUES_EQUAL( expected_coeffs[8], test_vals[8], loc ); in compare_coefficients() [all …]
|
H A D | QuadLagrangeShapeTest.cpp | 308 const double* expected_coeffs, in compare_coefficients() argument 328 ASSERT_VALUES_EQUAL( expected_coeffs[0], test_vals[0], loc, bits ); in compare_coefficients() 329 ASSERT_VALUES_EQUAL( expected_coeffs[1], test_vals[1], loc, bits ); in compare_coefficients() 330 ASSERT_VALUES_EQUAL( expected_coeffs[2], test_vals[2], loc, bits ); in compare_coefficients() 331 ASSERT_VALUES_EQUAL( expected_coeffs[3], test_vals[3], loc, bits ); in compare_coefficients() 332 ASSERT_VALUES_EQUAL( expected_coeffs[4], test_vals[4], loc, bits ); in compare_coefficients() 333 ASSERT_VALUES_EQUAL( expected_coeffs[5], test_vals[5], loc, bits ); in compare_coefficients() 334 ASSERT_VALUES_EQUAL( expected_coeffs[6], test_vals[6], loc, bits ); in compare_coefficients() 335 ASSERT_VALUES_EQUAL( expected_coeffs[7], test_vals[7], loc, bits ); in compare_coefficients() 336 ASSERT_VALUES_EQUAL( expected_coeffs[8], test_vals[8], loc, bits ); in compare_coefficients()
|
H A D | TetLagrangeShapeTest.cpp | 282 const double* expected_coeffs, in compare_coefficients() argument 304 ASSERT_VALUES_EQUAL( expected_coeffs[0], test_vals[0], loc, bits ); in compare_coefficients() 305 ASSERT_VALUES_EQUAL( expected_coeffs[1], test_vals[1], loc, bits ); in compare_coefficients() 306 ASSERT_VALUES_EQUAL( expected_coeffs[2], test_vals[2], loc, bits ); in compare_coefficients() 307 ASSERT_VALUES_EQUAL( expected_coeffs[3], test_vals[3], loc, bits ); in compare_coefficients() 308 ASSERT_VALUES_EQUAL( expected_coeffs[4], test_vals[4], loc, bits ); in compare_coefficients() 309 ASSERT_VALUES_EQUAL( expected_coeffs[5], test_vals[5], loc, bits ); in compare_coefficients() 310 ASSERT_VALUES_EQUAL( expected_coeffs[6], test_vals[6], loc, bits ); in compare_coefficients() 311 ASSERT_VALUES_EQUAL( expected_coeffs[7], test_vals[7], loc, bits ); in compare_coefficients() 312 ASSERT_VALUES_EQUAL( expected_coeffs[8], test_vals[8], loc, bits ); in compare_coefficients() [all …]
|
H A D | TriLagrangeShapeTest.cpp | 211 const double* expected_coeffs, in compare_coefficients() argument 230 ASSERT_VALUES_EQUAL( expected_coeffs[0], test_vals[0], loc, bits ); in compare_coefficients() 231 ASSERT_VALUES_EQUAL( expected_coeffs[1], test_vals[1], loc, bits ); in compare_coefficients() 232 ASSERT_VALUES_EQUAL( expected_coeffs[2], test_vals[2], loc, bits ); in compare_coefficients() 233 ASSERT_VALUES_EQUAL( expected_coeffs[3], test_vals[3], loc, bits ); in compare_coefficients() 234 ASSERT_VALUES_EQUAL( expected_coeffs[4], test_vals[4], loc, bits ); in compare_coefficients() 235 ASSERT_VALUES_EQUAL( expected_coeffs[5], test_vals[5], loc, bits ); in compare_coefficients()
|
/dports/science/py-dipy/dipy-1.4.1/dipy/reconst/tests/ |
H A D | test_shm.py | 629 expected_coeffs = sf_to_sh(odf, hemisphere, 8, legacy=False) 631 assert_array_almost_equal(converted_coeffs, expected_coeffs, 2) 636 expected_coeffs = sf_to_sh(odf, hemisphere, 8, 639 assert_array_almost_equal(converted_coeffs, expected_coeffs, 2) 647 expected_coeffs = sf_to_sh(odfs, hemisphere, 8, basis_type='tournier07', 650 assert_array_almost_equal(converted_coeffs, expected_coeffs, 2) 662 expected_coeffs = sf_to_sh(odf, hemisphere, 8, legacy=True) 664 assert_array_almost_equal(converted_coeffs, expected_coeffs, 2) 669 expected_coeffs = sf_to_sh(odf, hemisphere, 8, basis_type='tournier07', 672 assert_array_almost_equal(converted_coeffs, expected_coeffs, 2) [all …]
|