Class PreviewQuadTests
EditMode tests for PreviewQuad's point-in-polygon math: pure UnityEngine.Vector2 geometry, so these run without a rendered preview or a rig.
Inherited Members
Namespace: Serenity.Ui.Tests.Editor.Preview
Assembly: Tests.Editor.dll
Syntax
public class PreviewQuadTests
Constructors
PreviewQuadTests()
Declaration
public PreviewQuadTests()
Methods
Contains_DegenerateQuad_ReturnsFalseWithoutThrowing()
Declaration
public void Contains_DegenerateQuad_ReturnsFalseWithoutThrowing()
Contains_FortyFiveDegreeRotatedQuad_ExcludesItsAxisAlignedBoundingBoxCorners()
Declaration
public void Contains_FortyFiveDegreeRotatedQuad_ExcludesItsAxisAlignedBoundingBoxCorners()
Contains_FortyFiveDegreeRotatedQuad_IncludesTheCentre()
Declaration
public void Contains_FortyFiveDegreeRotatedQuad_IncludesTheCentre()
DeformedAround_StretchesOnlyTheLocalXEdge_OnARotatedQuad()
Declaration
public void DeformedAround_StretchesOnlyTheLocalXEdge_OnARotatedQuad()
Inflated_AdmitsAPointThreePixelsOutsideTheOriginalBoundary()
Declaration
public void Inflated_AdmitsAPointThreePixelsOutsideTheOriginalBoundary()
Inflated_DegenerateQuad_StaysDegenerateWithoutProducingNaN()
Declaration
public void Inflated_DegenerateQuad_StaysDegenerateWithoutProducingNaN()