Skip to content

Commit

Permalink
dumb 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nowhyrick committed Nov 7, 2024
1 parent 4329112 commit 2a0d9c9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Tests/UnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ public void Power_InvalidNoahWhyrick()
Assert.Throws<FormatException>(() => Program.Power("a", "a"));
}

// [Test]
// public void Power_NullNoahWhyrick()
// {
// Assert.Throws<ArgumentNullException>(() => Program.Power("1", null));
// Assert.Throws<ArgumentNullException>(() => Program.Power(null, "1"));
// Assert.Throws<ArgumentNullException>(() => Program.Power(null, null));
// }
[Test]
public void Power_NullNoahWhyrick()
{
Assert.Throws<ArgumentNullException>(() => Program.Power("1", null));
Assert.Throws<ArgumentNullException>(() => Program.Power(null, "1"));
Assert.Throws<ArgumentNullException>(() => Program.Power(null, null));
}
}
}

0 comments on commit 2a0d9c9

Please sign in to comment.