Math Test Prep
Math::Telephony::ErlangC is a Perl extension for Erlang C calculations. SYNOPSIS use Math::Telephony::ErlangC; # Evaluate probability that a service request will have to wait $wprob = wait_probability($traffic, $servers); # Probability that the wait time will be less than a fixed maximum...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (138): Math::Telephony::ErlangC Download |
Math::Telephony::ErlangB is a Perl extension for Erlang B calculations. SYNOPSIS use Math::Telephony::ErlangB qw( :all ); # Evaluate blocking probability $bprob = blocking_probability($traffic, $servers); $gos = gos($traffic, $servers); # Same result as above # Dimension minimum number...
Platforms: *nix
License: Freeware | Size: 24.58 KB | Download (259): Math::Telephony::ErlangB Download |
Math::Expr is a Perl module that parses mathematical expressions. SYNOPSIS require Math::Expr; $p=new Math::Expr; $e=$p->Parse("a+4*b-d/log(s)+f(d,e)"); Parses mathematical expressions into a tree structure. The expressions may contain integers, real numbers, alphanumeric variable names,...
Platforms: *nix
License: Freeware | Size: 13.31 KB | Download (99): Math::Expr Download |
Math::BaseCalc is a Perl module that can convert numbers between various bases. SYNOPSIS use Math::BaseCalc; my $calc = new Math::BaseCalc(digits => [0,1]); #Binary my $bin_string = $calc->to_base(465); # Convert 465 to binary $calc->digits(oct); # Octal my $number =...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (93): Math::BaseCalc Download |
Bundle::Test is a set of modules for software and hardware testing using Perl. SYNOPSIS A bundle does not have code in it. It is only a list of related modules. It exists only to make it easier to install these modules with one command: perl -MCPAN -e install Bundle::Test This bundle,...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (99): Bundle::Test Download |
Math::BaseArith is a Perl extension for mixed-base number representation (like APL encode/decode). SYNOPSIS use Math::BaseArith; encode( value, base_list ); decode( representation_list, base_list ); The inspiration for this module is a pair of functions in the APL programming language...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (96): Math::BaseArith Download |
Test::Reporter::Date::Format Perl module contains date formating subroutines. SYNOPSIS use Test::Reporter::Date::Format; @lt = localtime(time); print time2str($template, time); print strftime($template, @lt); print time2str($template, time, $zone); print strftime($template, @lt,...
Platforms: *nix
License: Freeware | Size: 23.55 KB | Download (107): Test::Reporter::Date::Format Download |
Test::Unit::GTestRunner is a Unit testing framework helper class SYNOPSIS use Test::Unit::GTestRunner; Test::Unit::GTestRunner->new->start ($my_testcase_class); Test::Unit::GTestRunner::main ($my_testcase_class); If you just want to run a unit test (suite), try it like this:...
Platforms: *nix
License: Freeware | Size: 63.49 KB | Download (89): Test::Unit::GTestRunner Download |
Test::Signature is a Perl module to automate SIGNATURE testing. SYNOPSIS # This is actually the t/00signature.t # file from this distribution. use Test::More tests => 1; use Test::Signature; signature_ok(); ABSTRACT Test::Signature verifies that the Module::Signature generated...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (197): Test::Signature Download |
Math::Pari is a Perl interface to PARI. SYNOPSIS use Math::Pari; $a = PARI 2; print $a**10000; or use Math::Pari qw(Mod); $a = Mod(3,5); print $a**10000; This package is a Perl interface to famous library PARI for numerical/scientific/number-theoretic calculations. It allows use of...
Platforms: *nix
License: Freeware | Size: 112.64 KB | Download (105): Math::Pari Download |
SYNOPSIS use Math::MatrixReal; use Math::MatrixReal::Aug; These are certain extra methods for Math::MatrixReal, in the tradition of Math::MatrixReal::Ext1; $matrix1->augmentright($matrix2); Creates a new matrix of the form [$matrix1 $matrix2]. $matrix1 and $matrix2 must have the same...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (107): Math::MatrixReal::Aug Download |
Test::MockClass is a Perl module to provide mock classes and mock objects for testing. SYNOPSIS # Pass in the class name and version that you want to mock use Test::MockClass qw{ClassToMock 1.1}; # create a MockClass object to handle a specific class my $mockClass =...
Platforms: *nix
License: Freeware | Size: 14.34 KB | Download (106): Test::MockClass Download |
Math::Random::MT::Auto is a Perl module for auto-seeded Mersenne Twister PRNGs. SYNOPSIS use strict; use warnings; use Math::Random::MT::Auto qw(rand irand shuffle gaussian), /dev/urandom => 256, random_org; # Functional interface my $die_roll = 1 + int(rand(6)); my $coin_flip =...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (98): Math::Random::MT::Auto Download |
Test::Dependencies is a Perl module to ensure that your Makefile.PL specifies all module dependencies. SYNOPSIS In your t/00-dependencies.t: use Test::Dependencies exclude => [qw/ Your::Namespace Some::Other::Namespace /]; ok_dependencies(); Makes sure that all of the modules that are...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (89): Test::Dependencies Download |
Test::Tail::Multi is a Perl module to execute code, monitor dynamic file contents. SYNOPSIS use Test::Tail::Multi files => [qw(file1 file2)] tests=>2; # Can add files dynamically as well add_file(file3, "decided to add file3 too"); # Execute a command and check against output...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (107): Test::Tail::Multi Download |
Test::WWW::Simple is a Perl module to test Web applications using TAP. SYNOPSIS use Test::WWW::Simple; # This is the default user agent. user_agent(Windows IE 6); page_like("http://yahoo.com", qr/.../, "check for expected text"); page_unlike("http://my.yahoo.com", qr/.../, "check for...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (92): Test::WWW::Simple Download |
Test::XML::Simple is an easy testing for XML. SYNOPSIS use Test::XML::Simple tests=>5; xml_valid $xml, "Is valid XML"; xml_node $xml, "/xpath/expression", "specified xpath node is present"; xml_is, $xml, /xpath/expr, "expected value", "specified text present"; xml_like, $xml, /xpath/expr,...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (86): Test::XML::Simple Download |
Math::Amoeba is a Multidimensional Function Minimization. SYNOPSIS use Math::Amoeba qw(ConstructVertices EvaluateVertices Amoeba MinimiseND); my ($vertice,$y)=MinimiseND(@guess,@scales,&func,$tol,$itmax,$verbose); my @vertices=ConstructVertices(@vector,@offsets); my...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (99): Math::Amoeba Download |
Math::Polynomial::Solve is a Perl module to find the roots of polynomial equations. SYNOPSIS use Math::Complex; # The roots may be complex numbers. use Math::Polynomial::Solve qw(poly_roots); my @x = poly_roots(@coefficients); or use Math::Complex; # The roots may be complex numbers....
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (116): Math::Polynomial::Solve Download |
Test::YAML::Valid is a Perl module is a test for valid YAML. SYNOPSIS This module lets you easily test the validity of YAML: use Test::More tests => 3; use Test::YAML::Valid; yaml_string_ok(YAML::Dump({foo => bar}), YAML generates good YAML?); yaml_string_ok(this is not YAML, is it?,...
Platforms: *nix
License: Freeware | Size: 26.62 KB | Download (90): Test::YAML::Valid Download |