示例#1
0
        public void RenderUnknowwn()
        {
            string  expected = "UNKNOWN";
            SteamId id       = SteamId.Unknown;

            Assert.Equal(expected, id.ToSteam2Id());
        }
示例#2
0
        public void RenderPending()
        {
            string  expected = "STEAM_ID_PENDING";
            SteamId id       = SteamId.Pending;

            Assert.Equal(expected, id.ToSteam2Id());
        }
示例#3
0
        public void ToSteam2Id()
        {
            string  expected = "STEAM_1:0:23071901";
            SteamId id       = new SteamId(46143802);

            Assert.Equal(expected, id.ToSteam2Id());
        }