Class UnityHudIntegerPartRepresentationTests
Tests for UnityHudIntegerPartRepresentation: it renders only the floored integer part of a bound number, with the same zero padding and thousands grouping UnityHudNumberRepresentation offers for a whole number.
Inherited Members
Namespace: Serenity.UnityGameUi.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityHudIntegerPartRepresentationTests
Constructors
UnityHudIntegerPartRepresentationTests()
Declaration
public UnityHudIntegerPartRepresentationTests()
Methods
FormatValue_FractionalValue_FloorsToTheIntegerPart()
Declaration
public void FormatValue_FractionalValue_FloorsToTheIntegerPart()
FormatValue_MinimumDigits_ZeroPads()
Declaration
public void FormatValue_MinimumDigits_ZeroPads()
FormatValue_NegativeValue_FloorsTowardNegativeInfinity()
Declaration
public void FormatValue_NegativeValue_FloorsTowardNegativeInfinity()
FormatValue_NeverRoundsUp()
Declaration
public void FormatValue_NeverRoundsUp()
FormatValue_NullBinding_ReturnsEmpty()
Declaration
public void FormatValue_NullBinding_ReturnsEmpty()
FormatValue_ThousandsSeparator_GroupsTheIntegerPart()
Declaration
public void FormatValue_ThousandsSeparator_GroupsTheIntegerPart()
FormatValue_UnchangedFloor_ReusesTheCachedText()
Declaration
public void FormatValue_UnchangedFloor_ReusesTheCachedText()
FormatValue_UnreadableBinding_ReturnsFallbackText()
Declaration
public void FormatValue_UnreadableBinding_ReturnsFallbackText()
Kind_IsIntegerPart()
Declaration
public void Kind_IsIntegerPart()