mirror of
https://github.com/ppy/osu
synced 2025-01-08 07:10:01 +00:00
Use TabItem.Items.Count
This commit is contained in:
parent
cc640893c2
commit
358c346923
@ -80,7 +80,7 @@ namespace osu.Game.Tests.Visual
|
||||
AddAssert("There are four channels", () => channelTabControl.Items.Count() == 5);
|
||||
AddStep("Add random public channel", () => addChannel(RNG.Next().ToString()));
|
||||
|
||||
AddRepeatStep("Select a random channel", () => channelTabControl.Current.Value = channelTabControl.Items.ElementAt(RNG.Next(channelTabControl.Count + 1)), 20);
|
||||
AddRepeatStep("Select a random channel", () => channelTabControl.Current.Value = channelTabControl.Items.ElementAt(RNG.Next(channelTabControl.Items.Count() + 1)), 20);
|
||||
}
|
||||
|
||||
private List<User> users;
|
||||
|
Loading…
Reference in New Issue
Block a user