We had 70 test functions that exhaust all the combinations of 7 alignments, 2 axes, and 5 distributions (7 * 2 * 5 = 70). If we want to test more properties, for example layoutMarginsRelativeArrangement, we'll have to add another 70 test functions, which is nearly impossible.
So I refactor these test functions with only one function, which is more flexible to add more test cases.
We had 70 test functions that exhaust all the combinations of 7 alignments, 2 axes, and 5 distributions (7 * 2 * 5 = 70). If we want to test more properties, for example layoutMarginsRelativeArrangement, we'll have to add another 70 test functions, which is nearly impossible.
So I refactor these test functions with only one function, which is more flexible to add more test cases.