• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ebaudrez / Test-PDL / 11334123289 / 1
62%
master: 62%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2024 07:54PM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2024 07:51PM UTC coverage: 97.872% (+0.1%) from 97.753%
11334123289.1

push

github

mohawk2
Use per-invocation options instead of global variables

Up to now, the comparison code used configurable parameters that could
only be changed globally. Now they can be overridden per invocation,
e.g., as in

	is_pdl($got, $expected, { atol => 1e-3 });

This leads to fewer surprises and arguably better code. It is still
possible to specify the default comparison parameters at import time.

There were too many ways to set the comparison parameters: at import
time, via set_options(), and per invocation. Moreover, the pervasive
effect of set_options() was a potential source of errors. Note that it
is still possible, though not encouraged or supported (or even
documented) to localize changes to %DEFAULTS with something like:

	{
		local $Test::PDL::DEFAULTS{atol} = 1e-3;
		...
	}

92 of 94 relevant lines covered (97.87%)

57.21 hits per line

Source Files on job 11334123289.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11334123289
  • a6a44e5b on github
  • Prev Job for on master (#11333963577.1)
  • Next Job for on master (#11350866946.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc