@@ -75,29 +75,29 @@ void test_decomposition(std::vector<typename BlueprintFieldType::value_type> pub
7575
7676 auto result_check = [&expected_res](AssignmentType &assignment,
7777 typename component_type::result_type &real_res) {
78- for (std::size_t i = 0 ; i < real_res.output .size (); i++){
79- std::cout << var_value (assignment, real_res.output [i]).data << std::endl;
80- }
81- for (std::size_t i = 0 ; i < expected_res.size (); i++){
82- std::cout << expected_res[i].data << std::endl;
83- }
78+ // for (std::size_t i = 0; i < real_res.output.size(); i++){
79+ // std::cout << var_value(assignment, real_res.output[i]).data << std::endl;
80+ // }
81+ // for (std::size_t i = 0; i < expected_res.size(); i++){
82+ // std::cout << expected_res[i].data << std::endl;
83+ // }
8484 for (std::size_t i = 0 ; i < real_res.output .size (); i++){
8585 assert (expected_res[i] == var_value (assignment, real_res.output [i]));
8686 }
8787 };
88- auto result_check_to_fail = [&expected_res ](AssignmentType &assignment,
89- typename component_type::result_type &real_res) { };
88+ auto result_check_to_fail = [](AssignmentType &assignment,
89+ typename component_type::result_type &real_res) {};
9090
9191 component_type component_instance ({0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 },{},{});
9292
9393 if (expected_to_pass) {
94- crypto3::test_component<component_type, BlueprintFieldType, ArithmetizationParams, hash_type, Lambda>(
94+ crypto3::test_component<component_type, BlueprintFieldType, hash_type, Lambda>(
9595 component_instance, desc, public_input, result_check, instance_input,
96- nil::crypto3::detail::connectedness_check_type ::WEAK);
96+ nil::blueprint::connectedness_check_type::type ::WEAK);
9797 } else {
98- crypto3::test_component_to_fail<component_type, BlueprintFieldType, ArithmetizationParams, hash_type, Lambda>(
98+ crypto3::test_component_to_fail<component_type, BlueprintFieldType, hash_type, Lambda>(
9999 component_instance, desc, public_input, result_check_to_fail, instance_input,
100- nil::crypto3::detail::connectedness_check_type ::WEAK);
100+ nil::blueprint::connectedness_check_type::type ::WEAK);
101101 }
102102}
103103
0 commit comments