docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Is

    Extension of the Is class in NUnit.Framework, see Is.

    Inheritance
    object
    Is
    Is
    Inherited Members
    Is.EqualTo(object)
    Is.SameAs(object)
    Is.GreaterThan(object)
    Is.GreaterThanOrEqualTo(object)
    Is.AtLeast(object)
    Is.LessThan(object)
    Is.LessThanOrEqualTo(object)
    Is.AtMost(object)
    Is.TypeOf(Type)
    Is.TypeOf<TExpected>()
    Is.InstanceOf(Type)
    Is.InstanceOf<TExpected>()
    Is.AssignableFrom(Type)
    Is.AssignableFrom<TExpected>()
    Is.AssignableTo(Type)
    Is.AssignableTo<TExpected>()
    Is.EquivalentTo(IEnumerable)
    Is.SubsetOf(IEnumerable)
    Is.SupersetOf(IEnumerable)
    Is.StringContaining(string)
    Is.StringStarting(string)
    Is.StringEnding(string)
    Is.StringMatching(string)
    Is.SamePath(string)
    Is.SubPathOf(string)
    Is.SamePathOrUnder(string)
    Is.InRange(IComparable, IComparable)
    Is.Not
    Is.All
    Is.Null
    Is.True
    Is.False
    Is.Positive
    Is.Negative
    Is.Zero
    Is.NaN
    Is.Empty
    Is.Unique
    Is.BinarySerializable
    Is.XmlSerializable
    Is.Ordered
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.TestTools.Constraints
    Assembly: UnityEngine.TestRunner.dll
    Syntax
    public class Is : Is

    Methods

    AllocatingGCMemory()

    Creates a new instance of AllocatingGCMemoryConstraint.

    Declaration
    public static AllocatingGCMemoryConstraint AllocatingGCMemory()
    Returns
    Type Description
    AllocatingGCMemoryConstraint

    A new AllocatingGCMemoryConstraint object.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)