mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
23 lines
568 B
C#
23 lines
568 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
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);
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|