Drag-Drop-Explorer
This commit is contained in:
@ -80,6 +80,8 @@ public partial class UnitTestCalculations
|
||||
{
|
||||
PersonBirthday personBirthday = new(new(1980, 1, 17));
|
||||
double? age = IPersonBirthday.GetAge(personBirthday);
|
||||
if (age is null)
|
||||
throw new NullReferenceException(nameof(age));
|
||||
Assert.IsNotNull(age);
|
||||
Assert.IsTrue(age.Value > 42.6092);
|
||||
}
|
||||
|
Reference in New Issue
Block a user