move asciilib2 -> asciilib for naming clarity
This commit is contained in:
20
projects/asciilib/test/src/Main.hx
Normal file
20
projects/asciilib/test/src/Main.hx
Normal file
@@ -0,0 +1,20 @@
|
||||
package;
|
||||
|
||||
import utest.Runner;
|
||||
import utest.ui.Report;
|
||||
import asciilib.GameLogic;
|
||||
import asciilib.Game;
|
||||
import asciilib.backends.test.*;
|
||||
|
||||
class Main {
|
||||
public static function newGame(logic:GameLogic) {
|
||||
return new Game("Test game", 100, 40, 8, 12, logic, new TestAssetsBackend(), new TestGraphicsBackend());
|
||||
}
|
||||
|
||||
static function main() {
|
||||
var runner = new Runner();
|
||||
runner.addCases(cases);
|
||||
Report.create(runner);
|
||||
runner.run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user