Page 1 of 1

A Millenial is someone born between 1981 and 1996 (inclusive). Using boundary analysis write test cases to test the IsMi

Posted: Sat May 14, 2022 7:32 pm
by answerhappygod
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
}