mirror of
https://github.com/ppy/osu
synced 2025-01-12 17:19:38 +00:00
Simplify test scene
This commit is contained in:
parent
bea2b70948
commit
432c52bf27
@ -37,70 +37,22 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
var values = new[]
|
||||
{
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2000, 1, 1),
|
||||
Count = 10,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2000, 2, 1),
|
||||
Count = 20,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2000, 3, 1),
|
||||
Count = 100,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2000, 4, 1),
|
||||
Count = 15,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2000, 5, 1),
|
||||
Count = 30,
|
||||
}
|
||||
new UserHistoryCount { Date = new DateTime(2000, 1, 1), Count = 10 },
|
||||
new UserHistoryCount { Date = new DateTime(2000, 2, 1), Count = 20 },
|
||||
new UserHistoryCount { Date = new DateTime(2000, 3, 1), Count = 100 },
|
||||
new UserHistoryCount { Date = new DateTime(2000, 4, 1), Count = 15 },
|
||||
new UserHistoryCount { Date = new DateTime(2000, 5, 1), Count = 30 }
|
||||
};
|
||||
|
||||
var moreValues = new[]
|
||||
{
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 5, 1),
|
||||
Count = 1000,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 6, 1),
|
||||
Count = 20,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 7, 1),
|
||||
Count = 20000,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 8, 1),
|
||||
Count = 30,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 9, 1),
|
||||
Count = 50,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 10, 1),
|
||||
Count = 2000,
|
||||
},
|
||||
new UserHistoryCount
|
||||
{
|
||||
Date = new DateTime(2010, 11, 1),
|
||||
Count = 2100,
|
||||
}
|
||||
new UserHistoryCount { Date = new DateTime(2010, 5, 1), Count = 1000 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 6, 1), Count = 20 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 7, 1), Count = 20000 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 8, 1), Count = 30 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 9, 1), Count = 50 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 10, 1), Count = 2000 },
|
||||
new UserHistoryCount { Date = new DateTime(2010, 11, 1), Count = 2100 }
|
||||
};
|
||||
|
||||
AddStep("Set fake values", () => graph.Values = values);
|
||||
|
Loading…
Reference in New Issue
Block a user