Name the All Asian multiplier after what it counts
The score window and the stored Contest.Multiplier1Name row both said "Prefixes" for an Asian entrant, which counts DXCC entities. Contest.MultiplierNames is now MultiplierNamesFor(StationInfo me), the same shape as ExchangeFieldsFor. Every other contest returns the same list it did before; All Asian returns "Countries" from Asia and "Prefixes" from everywhere else. ContestDefinitions.For takes the station as well, because that name is written to the log for N1MM. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0157i7PiZyqBkquxS9A6FTdQ
This commit is contained in:
@@ -80,6 +80,15 @@ public class AllAsianTests
|
||||
Assert.Empty(verdict.NewMultipliers);
|
||||
}
|
||||
|
||||
/// The column heading follows what is being counted.
|
||||
[Fact]
|
||||
public void TheMultiplierNameFollowsTheEntrant()
|
||||
{
|
||||
Contest contest = new AllAsian(ModeCategory.Phone);
|
||||
Assert.Equal(["Countries"], contest.MultiplierNamesFor(TestLog.Japan));
|
||||
Assert.Equal(["Prefixes"], contest.MultiplierNamesFor(TestLog.Germany));
|
||||
}
|
||||
|
||||
/// An entrant outside Asia may only work Asia.
|
||||
[Fact]
|
||||
public void OutsideEntrantCannotWorkOutsideAsia()
|
||||
|
||||
@@ -68,7 +68,7 @@ public class CqWorldWideRttyTests
|
||||
|
||||
[Fact]
|
||||
public void TheThreeMultiplierNamesAreShown() =>
|
||||
Assert.Equal(["Zones", "Countries", "States"], Rtty.MultiplierNames);
|
||||
Assert.Equal(["Zones", "Countries", "States"], Rtty.MultiplierNamesFor(TestLog.UnitedStates));
|
||||
|
||||
[Fact]
|
||||
public void TheCabrilloNameIsTheRttyOne() => Assert.Equal("CQ-WW-RTTY", Rtty.CabrilloName);
|
||||
|
||||
Reference in New Issue
Block a user