This repository has been archived on 2025-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
unity-cube-game/Library/PackageCache/com.unity.test-framework@1..../UnityEngine.TestRunner/Assertions/ConstraintsExtensions.cs

15 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;
}
}
}