Class UiAnchorMapperTests
Tests for UiAnchorMapper: the single anchor→placement-factor mapping shared by the
menu positioning utils and the UI preview (horizontal 0=left→1=right; vertical 0=bottom→1=top).
Inheritance
UiAnchorMapperTests
Assembly: Tests.dll
Syntax
public class UiAnchorMapperTests
Constructors
UiAnchorMapperTests()
Declaration
public UiAnchorMapperTests()
Methods
HorizontalFactor_MapsEveryAnchor(UiAnchorType, float)
Declaration
public void HorizontalFactor_MapsEveryAnchor(UiAnchorType anchor, float expected)
Parameters
IsBottom_OnlyForBottomEdgeAnchors()
Declaration
public void IsBottom_OnlyForBottomEdgeAnchors()
VerticalFactor_MapsEveryAnchor(UiAnchorType, float)
Declaration
public void VerticalFactor_MapsEveryAnchor(UiAnchorType anchor, float expected)
Parameters