testletq.pl
pennmush-1.8.3p3/test/testletq.pl · 242 B
From the archive pennmush-1.8.3p3.tar.gz
Download the archive « Back to the archive contents
use PennMUSH;
use TestHarness;
my $mush = PennMUSH->new();
my $god = $mush->loginGod();
test("letq.1", $god, "think setr(A, 1):[letq(A, 2, \%qA)]:\%qA", '^1:2:1');
test("letq.2", $god, "think setr(A, 1):[letq(setr(A, 2))]:\%qA", '^1:2:2');