A Millenial is someone born between 1981 and 1996 (inclusive).
Using boundary analysis write test cases to test the IsMillenial
function: public bool IsMillenial(int year) that takes a year of
birth (in the Gregorian Calendar) and returns true if the person is
a millenial and false if it isn't. If the year is not a valid
Gregorian Calendar year then the function throws
ArgumentOutOfRangeException. Note: There is total of 13 test
cases.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
[TestClass]
public partial class
{
// Your code starts here
// Your code ends here
}
A Millenial is someone born between 1981 and 1996 (inclusive). Using boundary analysis write test cases to test the IsMi
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A Millenial is someone born between 1981 and 1996 (inclusive). Using boundary analysis write test cases to test the IsMi
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!