mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-13 11:20:31 +00:00
26 lines
716 B
C#
26 lines
716 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
|
|
|
|
using System;
|
|
using osu.Framework.Platform;
|
|
|
|
namespace osu.Framework.Tests
|
|
{
|
|
public static class Program
|
|
{
|
|
[STAThread]
|
|
public static void Main(string[] args)
|
|
{
|
|
bool benchmark = args.Length > 0 && args[0] == @"-benchmark";
|
|
|
|
using (GameHost host = Host.GetSuitableHost(@"visual-tests"))
|
|
{
|
|
if (benchmark)
|
|
host.Run(new AutomatedVisualTestGame());
|
|
else
|
|
host.Run(new VisualTestGame());
|
|
}
|
|
}
|
|
}
|
|
}
|