Skip to content

Conversation

@CosynPa
Copy link

@CosynPa CosynPa commented Nov 8, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant