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()); }
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()); }