Write 2 negative tests to establish that the valid range for the length parameter is between 1
Fantastic news! We've Found the answer you've been seeking!
Question:
- Write 2 negative tests to establish that the valid range for the length parameter is between 1 and 100.
- Write 10 positive tests to establish that it returns the correct string for length parameter values 1 through 10, using the default constructor.
- Write a positive test for a length parameter of 30 using default constructor.
- Write a positive test for a length parameter of 50 using default constructor.
- Write a positive test for a length parameter of 100 using default constructor.
- Write however many positive tests you deem necessary to establish that the non-default constructor works as it should.
Related Book For
Finite Mathematics and Its Applications
ISBN: 978-0134768632
12th edition
Authors: Larry J. Goldstein, David I. Schneider, Martha J. Siegel, Steven Hair
Posted Date: