logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    UnityHudIntegerPartRepresentationTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved