コード例 #1
0
        public void RoomCreate()
        {
            // 先登录
            tryLogin();

            var room  = serverClient.CreateRoom();
            var rooms = serverClient.GetRoomInfos();

            Assert.NotNull(room);
            Assert.NotNull(rooms);
            Assert.AreEqual(1, rooms.Where(x => x.RoomID == room.RoomID).Count());
        }