mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-02 23:33:45 +00:00
16 lines
313 B
C#
16 lines
313 B
C#
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);
|
|
}
|
|
}
|
|
}
|