Padding should add zeros to the end of the tuple declaration of a set up to the desired arity. Unit tests should be creat first for the desired outcome.
Signature
Set* iegen::Set::pad(int desiredArity)
Testing
This functionality should be tested and unit tests should be added to src/set_relation_test.c
Example test case.
pad({[i]: 0 <= i < N},5) = {[i,0,0,0,0]:0 <= i < N}
Overview
Padding should add zeros to the end of the tuple declaration of a set up to the desired arity. Unit tests should be creat first for the desired outcome.
Signature
Testing
This functionality should be tested and unit tests should be added to src/set_relation_test.c
Example test case.
pad({[i]: 0 <= i < N},5) = {[i,0,0,0,0]:0 <= i < N}