Games-ABC_Path-Generator

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

my $builder = Test::Run::Builder->new(
    module_name         => 'Games::ABC_Path::Generator',
    license             => 'mit',
    # dist_abstract => q{A generator for ABC Path puzzle games},
    dist_author         => q{Shlomi Fish <shlomif@cpan.org>},
    dist_version_from   => 'lib/Games/ABC_Path/Generator.pm',
    configure_requires => {
        'Module::Build' => '0.36',
    },
    build_requires => {
        'Test::Differences' => 0,
        'Test::More' => 0,
    },
    requires => {
        'Carp' => 0,
        'Class::XSAccessor' => 0,
        'Exporter' => 0,
        'Games::ABC_Path::Solver::Base' => '0.3.0',
        'Games::ABC_Path::Solver::Constants' => '0.3.0',
        'Games::ABC_Path::Solver::Coord' => '0.3.0',
        'Games::ABC_Path::Solver::Board' => '0.3.0',

META.json  view on Meta::CPAN

      "mit"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
      "version" : "2"
   },
   "name" : "Games-ABC_Path-Generator",
   "prereqs" : {
      "build" : {
         "requires" : {
            "Test::Differences" : "0",
            "Test::More" : "0"
         }
      },
      "configure" : {
         "requires" : {
            "Module::Build" : "0.36"
         }
      },
      "runtime" : {
         "requires" : {

META.yml  view on Meta::CPAN

---
abstract: 'a generator for ABC Path puzzle games.'
author:
  - 'Shlomi Fish <shlomif@cpan.org>'
build_requires:
  Test::Differences: '0'
  Test::More: '0'
configure_requires:
  Module::Build: '0.36'
dynamic_config: 1
generated_by: 'Module::Build version 0.4224, CPAN::Meta::Converter version 2.150010'
keywords:
  - abc
  - game
  - games
  - generate

Makefile.PL  view on Meta::CPAN

  'VERSION_FROM' => 'lib/Games/ABC_Path/Generator.pm',
  'PREREQ_PM' => {
                   'Carp' => 0,
                   'Class::XSAccessor' => 0,
                   'Exporter' => 0,
                   'Games::ABC_Path::Solver::Base' => '0.003000',
                   'Games::ABC_Path::Solver::Board' => '0.003000',
                   'Games::ABC_Path::Solver::Constants' => '0.003000',
                   'Games::ABC_Path::Solver::Coord' => '0.003000',
                   'Getopt::Long' => '2.36',
                   'Test::Differences' => 0,
                   'Test::More' => 0,
                   'integer' => 0,
                   'strict' => 0,
                   'warnings' => 0
                 },
  'INSTALLDIRS' => 'site',
  'EXE_FILES' => [
                   'scripts/abc-path-gen'
                 ],
  'PL_FILES' => {}

t/cmd-line-test.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 4;

use Test::Differences;

use File::Spec;

my $prog_path = File::Spec->catfile(
    File::Spec->curdir(), 'scripts', 'abc-path-gen'
);

{
    # TEST
    eq_or_diff(

t/ms-rand.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 5;

use Test::Differences;

use Games::ABC_Path::MicrosoftRand;

{
    my $r = Games::ABC_Path::MicrosoftRand->new(seed => 1);

    # TEST
    is ($r->rand(), 41, "First result for seed 1 is 41.");

    # TEST

t/riddle-obj.t  view on Meta::CPAN

#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 12;
use Test::Differences;

use Games::ABC_Path::Generator;

{
    my $gen = Games::ABC_Path::Generator->new({seed => 1});

    my $riddle = $gen->calc_riddle();

    # TEST
    ok ($riddle, "Riddle was initialized");



( run in 1.050 second using v1.01-cache-2.11-cpan-39bf76dae61 )