2013-05-03 13:40:29 -07:00
|
|
|
#!/usr/bin/env perl
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
use Test::More;
|
2016-05-16 06:07:57 -07:00
|
|
|
use Test::Deep;
|
2013-05-03 13:40:29 -07:00
|
|
|
use DDG::Test::Goodie;
|
|
|
|
|
|
|
|
zci answer_type => 'chess960_position';
|
|
|
|
zci is_cached => 0;
|
|
|
|
|
|
|
|
ddg_goodie_test(
|
|
|
|
[qw(
|
|
|
|
DDG::Goodie::Chess960
|
|
|
|
)],
|
2015-11-24 12:48:51 -08:00
|
|
|
'chess960 random' => test_zci(
|
|
|
|
'Chess 960',
|
|
|
|
structured_answer => {
|
2016-05-16 06:07:57 -07:00
|
|
|
data => ignore(),
|
2015-11-24 12:48:51 -08:00
|
|
|
templates => {
|
|
|
|
group => "text",
|
|
|
|
item => 0,
|
|
|
|
options => {
|
|
|
|
content => "DDH.chess960.content"
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
2013-05-03 13:40:29 -07:00
|
|
|
);
|
|
|
|
|
|
|
|
done_testing;
|