MCPcopy Create free account
hub / github.com/holoviz/hvplot / test_valid_bounds_in_range

Method test_valid_bounds_in_range

hvplot/tests/testutil.py:470–474  ·  view source on GitHub ↗

Return True when both bounds are valid and in range.

(self)

Source from the content-addressed store, hash-verified

468 """Test _bounds_in_range helper function."""
469
470 def test_valid_bounds_in_range(self):
471 """Return True when both bounds are valid and in range."""
472 assert _bounds_in_range(-90, 90, -90, 90)
473 assert _bounds_in_range(-180, 360, -180, 360)
474 assert _bounds_in_range(0, 45, -180, 360)
475
476 def test_first_bound_out_of_range(self):
477 """Return False when first bound exceeds range."""

Callers

nothing calls this directly

Calls 1

_bounds_in_rangeFunction · 0.90

Tested by

no test coverage detected