mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:33:20 +08:00
Add basic multiplayer gameplay test coverage
This commit is contained in:
parent
fcec714b4f
commit
54ffb8dc4e
19
osu.Game.Tests/Visual/Multiplayer/TestMultiplayerGameplay.cs
Normal file
19
osu.Game.Tests/Visual/Multiplayer/TestMultiplayerGameplay.cs
Normal 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())));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user