GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Name the reputation icon of the first fd line (#298) · NosCoreIO/NosCore.Shared@38ee80a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/NosCore.Shared/Enumerations
    • ReputationType.cs
  • test/NosCore.Shared.Tests
    • ReputationTypeTests.cs
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/NosCore.Shared/Enumerations/ReputationType.cs‎

Copy file name to clipboardExpand all lines: src/NosCore.Shared/Enumerations/ReputationType.cs
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ namespace NosCore.Shared.Enumerations
88
{
99
public enum ReputationType : byte
1010
{
11+
// The icon of the first reputation line on entering the game, before the rank is sent.
12+
None = 0,
1113
GreenBeginner = 1,
1214
BlueBeginner = 2,
1315
RedBeginner = 3,
Collapse file

‎test/NosCore.Shared.Tests/ReputationTypeTests.cs‎

Copy file name to clipboard
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// __ _ __ __ ___ __ ___ ___
2+
// | \| |/__\ /' _/ / _//__\| _ \ __|
3+
// | | ' | \/ |`._`.| \_| \/ | v / _|
4+
// |_|\__|\__/ |___/ \__/\__/|_|_\___|
5+
// -----------------------------------
6+
7+
using System;
8+
using Microsoft.VisualStudio.TestTools.UnitTesting;
9+
using NosCore.Shared.Enumerations;
10+
11+
namespace NosCore.Shared.Tests
12+
{
13+
[TestClass]
14+
public class ReputationTypeTests
15+
{
16+
// The first fd of a session reads "fd 230 0 52 1", before "fd 230 3 52 1".
17+
[TestMethod]
18+
public void TheIconBeforeTheRankIsKnownIsDefined()
19+
{
20+
Assert.AreEqual(nameof(ReputationType.None), Enum.GetName(typeof(ReputationType), (byte)0));
21+
}
22+
}
23+
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.