cs-codex-dist-tests/Framework/Utils/FrameworkAssert.cs

16 lines
313 B
C#
Raw Permalink Normal View History

2023-09-20 08:51:47 +00:00
namespace Utils
{
public static class FrameworkAssert
{
public static void That(bool condition, string message)
{
if (!condition) Fail(message);
}
public static void Fail(string message)
{
throw new Exception(message);
}
}
}