Hi all,
I am working on a React app which receives a few numerical fields and then calculates some values (Let’s say the mean, median, etc …). I am wondering if is it possible to write unit tests when what is considered, is the order in which these inputs were filled and not only their values. Supposing that we have fields A, B, and C as input, and field D as output. I want to test different results of the output according to the order in which the form was filled. A, B,C or B,A,C …
Thank you for your attention and help !