wabbajack/Wabbajack.Test/Extensions.cs
2019-11-21 15:27:35 +01:00

18 lines
452 B
C#

using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wabbajack.Test
{
public static class Extensions
{
public static void AssertIsFalse(this bool? condition)
{
Assert.IsFalse(condition ?? true, string.Empty, (object[])null);
}
public static void AssertIsTrue(this bool? condition)
{
Assert.IsTrue(condition ?? false, string.Empty, (object[])null);
}
}
}