Class PreviewHitTestingTests
Inheritance
PreviewHitTestingTests
Assembly: Tests.Editor.dll
Syntax
public class PreviewHitTestingTests
Constructors
PreviewHitTestingTests()
Declaration
public PreviewHitTestingTests()
Methods
CentreLocal_ReturnsTheMidpointOfTheLocalBounds()
Declaration
public void CentreLocal_ReturnsTheMidpointOfTheLocalBounds()
Declaration
public void DeformedAxesFor_MapsEachHandleToItsAxes(int handleValue, bool expectedX, bool expectedY)
Parameters
| Type |
Name |
Description |
| int |
handleValue |
|
| bool |
expectedX |
|
| bool |
expectedY |
|
GestureKindFor_MapsEachHandleToTheGestureItStarts(int, int)
Declaration
public void GestureKindFor_MapsEachHandleToTheGestureItStarts(int handleValue, int expectedKindValue)
Parameters
| Type |
Name |
Description |
| int |
handleValue |
|
| int |
expectedKindValue |
|
InflatedForRotateBand_GrowsTheFrameByTheKnobsOuterReach()
Declaration
public void InflatedForRotateBand_GrowsTheFrameByTheKnobsOuterReach()
LocalAxesFor_A90DegreeRotatedQuad_ReturnsTheRotatedAxes()
Declaration
public void LocalAxesFor_A90DegreeRotatedQuad_ReturnsTheRotatedAxes()
ResolveFixedPointLocal_AMove_AlwaysHoldsTheCentre()
Declaration
public void ResolveFixedPointLocal_AMove_AlwaysHoldsTheCentre()
ResolveFixedPointLocal_ARotateWithAlt_HoldsTheAnchorUncompensated()
Declaration
public void ResolveFixedPointLocal_ARotateWithAlt_HoldsTheAnchorUncompensated()
ResolveFixedPointLocal_ARotateWithoutAlt_HoldsTheCentre()
Declaration
public void ResolveFixedPointLocal_ARotateWithoutAlt_HoldsTheCentre()
ResolveFixedPointLocal_AScaleHandle_HoldsTheOppositePointAndSwapsToTheCentreOnAlt()
Declaration
public void ResolveFixedPointLocal_AScaleHandle_HoldsTheOppositePointAndSwapsToTheCentreOnAlt()
ResolveHandle_NinetyDegreeRotatedQuad_KnobCentreResolvesToRotateHandle()
Declaration
public void ResolveHandle_NinetyDegreeRotatedQuad_KnobCentreResolvesToRotateHandle()
ResolveHandle_PointOnTheStickBaseInsideTheQuad_DoesNotResolveToRotateHandle()
Declaration
public void ResolveHandle_PointOnTheStickBaseInsideTheQuad_DoesNotResolveToRotateHandle()
ResolveHandle_UnrotatedQuad_KnobCentreResolvesToRotateHandle()
Declaration
public void ResolveHandle_UnrotatedQuad_KnobCentreResolvesToRotateHandle()