logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementPointsSummaryTests

    Unit tests for AchievementPointsSummary: the "earned / maximum" line the achievements screen prints, and the completion fraction a bar over it reads.

    Inheritance
    object
    AchievementPointsSummaryTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Achievements.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class AchievementPointsSummaryTests

    Constructors

    AchievementPointsSummaryTests()

    Declaration
    public AchievementPointsSummaryTests()

    Methods

    Completion_EarnedBeyondTheMaximum_IsClampedToOne()

    Declaration
    public void Completion_EarnedBeyondTheMaximum_IsClampedToOne()

    Completion_IsTheEarnedShareOfTheMaximum()

    Declaration
    public void Completion_IsTheEarnedShareOfTheMaximum()

    Completion_WithNothingOnOffer_ReadsAsComplete()

    Declaration
    public void Completion_WithNothingOnOffer_ReadsAsComplete()

    Create_BlankFormat_FallsBackToTheDefault()

    Declaration
    public void Create_BlankFormat_FallsBackToTheDefault()

    Create_CustomFormatAndCulture_AreApplied()

    Declaration
    public void Create_CustomFormatAndCulture_AreApplied()

    Create_NegativeTotals_AreClampedToZero()

    Declaration
    public void Create_NegativeTotals_AreClampedToZero()

    Create_RendersEarnedOverMaximum()

    Declaration
    public void Create_RendersEarnedOverMaximum()

    ToString_IsTheRenderedText()

    Declaration
    public void ToString_IsTheRenderedText()
    In this article
    © 2026 Serenity. All Rights Reserved