tsostarics / contrastable

Contrast Coding Utilities
https://tsostarics.github.io/contrastable/
Other
0 stars 0 forks source link

Clean up tests #33

Closed tsostarics closed 1 month ago

tsostarics commented 2 months ago

There are a lot of tests but there are likely some redundant ones or instances that can be cleaned up for readability. For example, a lot of the factor(c('a', 'b', 'c', 'd')) etc. can be written as gl(4,1), which would make the setup of test data frames easier.

I should also comb through the individual contrast functions and ensure they're all properly tested for all edge cases.