rimworld-animation-studio/Library/PackageCache/com.unity.test-framework@1.1.22/UnityEngine.TestRunner/Assertions/ConstraintsExtensions.cs
2022-09-13 00:36:34 -05:00

14 lines
398 B
C#

using NUnit.Framework.Constraints;
namespace UnityEngine.TestTools.Constraints
{
public static class ConstraintExtensions
{
public static AllocatingGCMemoryConstraint AllocatingGCMemory(this ConstraintExpression chain)
{
var constraint = new AllocatingGCMemoryConstraint();
chain.Append(constraint);
return constraint;
}
}
}