Jacquard/Role/Geometry/Position2D.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use Renard::Incunabula::Common::Setup;
2 package Intertangle::Jacquard::Role::Geometry::Position2D;
3 # ABSTRACT: A 2D geometry with variable position
4 $Intertangle::Jacquard::Role::Geometry::Position2D::VERSION = '0.001';
5 use Mu::Role;
6 use Intertangle::Punchcard::Attributes;
7 use Intertangle::Yarn::Graphene;
8  
9 variable x =>;
10 variable y =>;
11  
12 method origin_point() {
13 Intertangle::Yarn::Graphene::Point->new(
14 x => $self->x->value,
15 y => $self->y->value,
16 );
17 }
18  
19 1;
20  
21 __END__
22  
23 =pod
24  
25 =encoding UTF-8
26  
27 =head1 NAME
28  
29 Intertangle::Jacquard::Role::Geometry::Position2D - A 2D geometry with variable position
30  
31 =head1 VERSION
32  
33 version 0.001
34  
35 =head1 METHODS
36  
37 =head2 origin_point
38  
39 ...
40  
41 =head1 AUTHOR
42  
43 Zakariyya Mughal <zmughal@cpan.org>
44  
45 =head1 COPYRIGHT AND LICENSE
46  
47 This software is copyright (c) 2017 by Zakariyya Mughal.
48  
49 This is free software; you can redistribute it and/or modify it under
50 the same terms as the Perl 5 programming language system itself.
51  
52 =cut