5dplomacy/MultiversalDiplomacyTests/Is.cs

13 lines
380 B
C#
Raw Normal View History

2022-03-23 05:11:14 +00:00
using MultiversalDiplomacy.Adjudicate;
namespace MultiversalDiplomacyTests;
public class Is : NUnit.Framework.Is
{
public static OrderValidationConstraint Valid
=> new OrderValidationConstraint(true, ValidationReason.Valid);
public static OrderValidationConstraint Invalid(ValidationReason expected)
=> new OrderValidationConstraint(false, expected);
}