Hello everyone,
Please can any one explain me what this challenge try to say, i can’t understand it
Challenge page
Need help in Quality Assurance and Testing with Chai - Test if a Value Falls within a Specific Range
How old are you?
Expected range 12-120.
In Pseudo code if (age < 12 OR age > 120) throw "out of range exception"
1 Like
Thanks i get it
assert.approximately(weirdNumbers(0.5) , 1, 0.5,["It's within 1 +/- 0.5"]);
assert.approximately(weirdNumbers(0.2) , 1, 0.8, ["It's within 1 +/- 0.8"]);
1 Like