@@ -121,8 +121,7 @@ void TestDistribution(const std::string& phaseName, LaueOps::Pointer op, const s
121121 QuatD refMu = QuatD (refMuhat[sampleId * 4 + 1 ], refMuhat[sampleId * 4 + 2 ], refMuhat[sampleId * 4 + 3 ], refMuhat[sampleId * 4 ]).normalize ();
122122 double refKappa = refKappahat[sampleId];
123123
124- std::printf (" %s group %zu: kappa EbsdLib=%12.6f EMsoft=%12.6f muW EbsdLib=%10.7f EMsoft=%10.7f\n " ,
125- distributionType.c_str (), sampleId, kappahat, refKappa, muhat.w (), refMu.w ());
124+ std::printf (" %s group %zu: kappa EbsdLib=%12.6f EMsoft=%12.6f muW EbsdLib=%10.7f EMsoft=%10.7f\n " , distributionType.c_str (), sampleId, kappahat, refKappa, muhat.w (), refMu.w ());
126125
127126 REQUIRE (muhat.w () == Approx (refMu.w ()).margin (1e-6 ));
128127 REQUIRE (muhat.x () == Approx (refMu.x ()).margin (1e-6 ));
@@ -134,7 +133,7 @@ void TestDistribution(const std::string& phaseName, LaueOps::Pointer op, const s
134133
135134TEST_CASE (" DirectionalStatsTest:AverageOrientation" , " [DirectionalStatsTest]" )
136135{
137- const ebsdlib::unit_test::TestFileSentinel testDataSentinel (ebsdlib::unit_test::k_TestFilesDir, " Laue_Orientation_Clusters_v6.tar.gz" , " Laue_Orientation_Clusters_v6" , false , false );
136+ const ebsdlib::unit_test::TestFileSentinel testDataSentinel (ebsdlib::unit_test::k_TestFilesDir, " Laue_Orientation_Clusters_v6.tar.gz" , " Laue_Orientation_Clusters_v6" , true , true );
138137 std::vector<LaueOps::Pointer> ops = LaueOps::GetAllOrientationOps ();
139138
140139 std::set<std::string> tested;
@@ -475,4 +474,3 @@ TEST_CASE("DirectionalStatsTest:Watson_FromTXT", "[DirectionalStatsTest]")
475474 std::printf (" kappa : %20.16f\n " , kappahat);
476475 std::printf (" eq. deg. : %20.16f\n " , eqDeg);
477476}
478-
0 commit comments