1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:47:25 +08:00

Add basic multiplayer gameplay test coverage

This commit is contained in:
Dean Herbert 2021-08-05 19:01:16 +09:00
parent fcec714b4f
commit 54ffb8dc4e

View File

@ -0,0 +1,19 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Game.Screens.OnlinePlay.Multiplayer;
namespace osu.Game.Tests.Visual.Multiplayer
{
public class TestMultiplayerGameplay : MultiplayerTestScene
{
[Test]
public void TestBasic()
{
AddStep("load screen", () =>
LoadScreen(new MultiplayerPlayer(Client.CurrentMatchPlayingItem.Value, Client.Room?.Users.Select(u => u.UserID).ToArray())));
}
}
}