Math Test Prep
Math::Calc::Euro is a Perl module to convert between EUR and the old currencies. SYNOPSIS my $guildercalc = Math::Calc::Euro->new(NLG) print $guildercalc->to_euro(1), "n"; # 0.45378... print $guildercalc->from_national(1), "n"; # same print $guildercalc->to_national(1), "n"; # 2.20371...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (91): Math::Calc::Euro Download |
Math::Fraction is a Perl module to manipulate exact fractions. SYNOPSIS use Math::Fraction; $a = frac(1,2); $b = frac(6,7); print "$a + $b = ", $a + $b, "$a * $b = ", $a * $b; print $a->num;.
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (101): Math::Fraction Download |
Math::NumberCruncher Perl module contains a collection of useful math-related functions. SYNOPSIS It should be noted that as of v4.0, there is now an OO interface to Math::NumberCruncher. For backwards compatibility, however, the previous, functional style will always be supported. # OO...
Platforms: *nix
License: Freeware | Size: 81.92 KB | Download (95): Math::NumberCruncher Download |
Test::Usage is a different approach to testing: selective, quieter, colorful. SYNOPSIS Lets say we are building module Foo.pm. To exercise it, we write a usage examples module, Foo_T.pm, which may eventually look something like this: package Foo_T; use Test::Usage; use strict; use...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (88): Test::Usage Download |
Test::WWW::Selenium is a Perl module to test applications using Selenium Remote Control. SYNOPSIS Test::WWW::Selenium is a subclass of WWW::Selenium that provides convenient testing functions. use Test::More tests => 5; use Test::WWW::Selenium; # Parameters are passed through to...
Platforms: *nix
License: Freeware | Size: 39.94 KB | Download (93): Test::WWW::Selenium Download |
Math::Logic::Predicate is a Perl module to manage and query a predicate assertion database. SYNOPSIS use Math::Logic::Predicate; $db = new Math::Logic::Predicate; # Enter some predicates into the database $db->add(<
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (99): Math::Logic::Predicate Download |
Test::MockDBI is Perl module mock DBI interface for testing. SYNOPSIS use Test::MockDBI; OR use Test::MockDBI qw( :all ); Test::MockDBI::set_dbi_test_type(42); if (Test::MockDBI::get_dbi_test_type() == 42) { ... $mock_dbi = get_instance Test::MockDBI; $mock_dbi->bad_method(...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (95): Test::MockDBI Download |
Math::Logic is a Perl module that provides pure 2, 3 or multi-value logic. SYNOPSIS use Math::Logic qw( $TRUE $FALSE $UNDEF $STR_TRUE $STR_FALSE $STR_UNDEF ) ; # 1 0 -1 TRUE FALSE UNDEF use Math::Logic :NUM ; # $TRUE $FALSE $UNDEF -- what you normally want use Math::Logic :ALL ; # All...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (104): Math::Logic Download |
Math::String module contains arbitrary sized integers having arbitrary charsets to calculate with key rooms. SYNOPSIS use Math::String; use Math::String::Charset; $a = new Math::String cafebabe; # default a-z $b = new Math::String deadbeef; # a-z print $a + $b; # Math::String "" $a =...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (98): Math::String Download |
Math::Symbolic is a Perl module for symbolic calculations. SYNOPSIS use Math::Symbolic; my $tree = Math::Symbolic->parse_from_string(1/2 * m * v^2); # Now do symbolic calculations with $tree. # ... like deriving it... my ($sub) = Math::Symbolic::Compiler->compile_to_sub($tree); my...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (96): Math::Symbolic Download |
Test::Simple is a Perl module with basic utilities for writing tests. SYNOPSIS use Test::Simple tests => 1; ok( $foo eq $bar, foo is bar ); ** If you are unfamiliar with testing read Test::Tutorial first! ** This is an extremely simple, extremely basic module for writing tests suitable...
Platforms: *nix
License: Freeware | Size: 77.82 KB | Download (92): Test::Simple Download |
Test::Glade is a simple way to test Gtk2::GladeXML-based apps. SYNOPSIS use Test::Glade tests => 2; my $glade_xml = interface.glade; has_widget( $glade_xml, { name => main_window, type => GtkWindow, properties => { title => Test Application, type => GTK_WINDOW_TOPLEVEL, resizable =>...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (89): Test::Glade Download |
RPN is a Perl extension for Reverse Polish Math Expression Evaluation. SYNOPSIS use Math::RPN; $value=rpn(expr...); @array=rpn(expr...); expr... is one or more scalars or lists of scalars which contain RPN expressions. An RPN expression is a series of numbers and/or operators separated...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (93): Math::RPN Download |
Math::Roman contains arbitrary sized Roman numbers and conversion from and to Arabic. SYNOPSIS use Math::Roman qw(roman); $a = new Math::Roman MCMLXXIII; # 1973 $b = roman(MCMLXI); # 1961 print $a - $b,"n"; # prints XII $d = Math::Roman->bzero(); # $d++; # I $d += 1998; # MCMXCIX $d...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (151): Math::Roman Download |
Math::BigInt::Calc is a pure Perl module to support Math::BigInt. SYNOPSIS Provides support for big integer calculations. Not intended to be used by other modules. Other modules which sport the same functions can also be used to support Math::BigInt, like Math::BigInt::GMP or...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (96): Math::BigInt::Calc Download |
Math::BigInt is an arbitrary size integer/float math package. SYNOPSIS use Math::BigInt; # or make it faster: install (optional) Math::BigInt::GMP # and always use (it will fall back to pure Perl if the # GMP library is not installed): # will warn if Math::BigInt::GMP cannot be found...
Platforms: *nix
License: Freeware | Size: 194.56 KB | Download (89): Math::BigInt Download |
Math::BaseCnv is a fast functions to convert between number bases. SYNOPSIS use Math::BaseCnv; # Convert 63 from base-10 (decimal) to base-2 (binary) $binary_63 = cnv( 63, 10, 2 ); BaseCnv provides a few simple functions for converting between arbitrary number bases. It is as fast as I...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (102): Math::BaseCnv Download |
Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. SYNOPSIS use Test::TestCoverage; test_coverage(My::Module); my $obj = My::Module->new(); $obj->foo(); $obj->bar(); # test will be ok, assumed that My::Module has the subroutines new,...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (86): Test::TestCoverage Download |
Math::TotalBuilder::Common is a Perl module with common unit sets for building totals. SYNOPSIS use Math::TotalBuilder; use Math::TotalBuilder::Common; # units for 952 pence my %tender = build($Math::TotalBuilder::Common::uk_money_old, 952); This package is just a set of common sets of...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (93): Math::TotalBuilder::Common Download |
classes::Test are functions to help with classes pragma testing. SYNOPSIS can_new can_set_get has_decl has_class_const has_mixins has_mixins_hash is_classes MyClass; is_classes main; is_throwable X::Mine; is_classes_exc X::Mine; Generic tests based on Test::Builder designed to...
Platforms: *nix
License: Freeware | Size: 163.84 KB | Download (99): classes::Test Download |