Simplify test scene

This commit is contained in:
Andrei Zavatski 2020-03-09 19:26:15 +03:00
parent bea2b70948
commit 432c52bf27

View File

@ -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);