Skip to content

Commit c86d9ae

Browse files
committed
test PolarStereoAxes
1 parent f709e10 commit c86d9ae

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

t/graph.t

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@ is_pdl $cyl->transform($points2->zeroes, $points2, $inds), float('
2727
0.413176 0 0.101756; 0.586824 1 0.050878
2828
');
2929

30+
my $pol = PDL::Graphics::TriD::PolarStereoAxes->new;
31+
$pol->init_scale;
32+
$pol->add_scale($points2, $inds);
33+
$pol->finish_scale;
34+
is_pdl $pol->transform($points2->zeroes, $points2, $inds), float('
35+
0.413176 0.413176 0.101756; 0.586824 0.586824 0.050878
36+
');
37+
3038
done_testing;

0 commit comments

Comments
 (0)