Python Programming - Testing - Discussion

Discussion Forum : Testing - General Questions (Q.No. 7)
7.
What assertion method in the unittest module is commonly used to check if a value is within a specified range?
assertAlmostEqual
assertGreater
assertIn
assertIsNone
Answer: Option
Explanation:
The assertGreater method in the unittest module is commonly used to check if a value is greater than another, effectively creating a range check.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.