Package list pangzero / a44d542c-5bc1-45bd-b9e0-417e00ad44e2/main t / 00-run.t
a44d542c-5bc1-45bd-b9e0-417e00ad44e2/main

Tree @a44d542c-5bc1-45bd-b9e0-417e00ad44e2/main (Download .tar.gz)

00-run.t @a44d542c-5bc1-45bd-b9e0-417e00ad44e2/mainraw · history · blame

use strict;
use warnings;
use Test::More;
use Games::PangZero;

$ENV{PANGZERO_TEST} = 1;

$ENV{SDL_VIDEODRIVER}                          = 'dummy';
Games::PangZero::Initialize();
$Games::PangZero::Game                         = Games::PangZero::PanicGame->new();
@Games::PangZero::Highscore::UnsavedHighScores = ();
$Games::PangZero::Game->Run();

delete $ENV{SDL_VIDEODRIVER};
pass('Game Ran!!');
done_testing();