2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-11-22 11:06:31 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2017-11-22 10:22:46 +08:00
|
|
|
|
|
2018-03-02 14:34:31 +08:00
|
|
|
|
using NUnit.Framework;
|
2017-11-22 10:22:46 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Screens.Edit.Components;
|
|
|
|
|
using osu.Game.Tests.Beatmaps;
|
|
|
|
|
using OpenTK;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Tests.Visual
|
|
|
|
|
{
|
2018-03-02 14:34:31 +08:00
|
|
|
|
[TestFixture]
|
2017-11-22 10:22:46 +08:00
|
|
|
|
public class TestCasePlaybackControl : OsuTestCase
|
|
|
|
|
{
|
|
|
|
|
public TestCasePlaybackControl()
|
|
|
|
|
{
|
2017-11-22 10:36:29 +08:00
|
|
|
|
var playback = new PlaybackControl
|
2017-11-22 10:22:46 +08:00
|
|
|
|
{
|
|
|
|
|
Anchor = Anchor.Centre,
|
|
|
|
|
Origin = Anchor.Centre,
|
|
|
|
|
Size = new Vector2(200,100)
|
|
|
|
|
};
|
|
|
|
|
playback.Beatmap.Value = new TestWorkingBeatmap(new Beatmap());
|
|
|
|
|
|
|
|
|
|
Add(playback);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|