Class AchievementPointsSummaryTests
Unit tests for AchievementPointsSummary: the "earned / maximum" line the achievements screen prints, and the completion fraction a bar over it reads.
Inherited Members
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()