You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what you want implemented
Restructure integration tests and add common setup and verification functions that all tests can use.
Describe "Why" this is needed
Reduce test boilerplate. This way it becomes more transparent what is actually tested and easier to add new tests.
Describe alternatives you've considered
The tests essentially are unit tests (testing one specific functionality/function) but because the testing happens in-circuit and benefit from helper functions, I have kept them as integrations tests.
Additional context
The workload is split over multiple issues. This issue covers:
add helper functions:
setup
check_satisfied_circuit
check_unsatisfied_circuit
refactor tests:
assert_equal_point
assert_equal_public_point
component_mul_point
component_add_point
component_mul_generator
component_boolean
component_select
component_select_one
component_select_zero
component_select_point
component_select_identity
The text was updated successfully, but these errors were encountered:
Describe what you want implemented
Restructure integration tests and add common setup and verification functions that all tests can use.
Describe "Why" this is needed
Reduce test boilerplate. This way it becomes more transparent what is actually tested and easier to add new tests.
Describe alternatives you've considered
The tests essentially are unit tests (testing one specific functionality/function) but because the testing happens in-circuit and benefit from helper functions, I have kept them as integrations tests.
Additional context
The workload is split over multiple issues. This issue covers:
setup
check_satisfied_circuit
check_unsatisfied_circuit
assert_equal_point
assert_equal_public_point
component_mul_point
component_add_point
component_mul_generator
component_boolean
component_select
component_select_one
component_select_zero
component_select_point
component_select_identity
The text was updated successfully, but these errors were encountered: