1Test::Run::Base::StructU(s3e)r Contributed Perl DocumentaTteisotn::Run::Base::Struct(3)
2
3
4

NAME

6       Test::Run::Base::Struct - base class for Test::Run's "structs", that
7       are simple classes that hold several values.
8

DESCRIPTION

10       Inherits from Test::Run::Base.
11
12   BUILD
13       For Moose.
14

METHODS

16   $struct->inc_field($field_name)
17       Increment the slot $field_name by 1.
18
19   $struct->add_to_field($field_name, $difference)
20       Add $difference to the slot $field_name.
21

SEE ALSO

23       Test::Run::Base, Test::Run::Obj, Test::Run::Core
24

LICENSE

26       This file is freely distributable under the MIT X11 license.
27
28       <http://www.opensource.org/licenses/mit-license.php>
29

AUTHOR

31       Shlomi Fish, <http://www.shlomifish.org/>.
32
33
34
35perl v5.32.1                      2021-01-27        Test::Run::Base::Struct(3)
Impressum