MCPcopy
hub / github.com/tum-pbs/PhiFlow / test_plot_vector_2d_batch

Method test_plot_vector_2d_batch

tests/commit/vis/test__plots.py:62–63  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

60 self._test_plot(CenteredGrid(Noise(vector='b,a'), extrapolation.ZERO, a=64, b=8, bounds=Box(a=1, b=1)) * 0.1)
61
62 def test_plot_vector_2d_batch(self):
63 self._test_plot(CenteredGrid(Noise(batch(b=2), vector=2), extrapolation.ZERO, bounds=Box['x,y', 0:1, 0:1], x=10, y=10))
64
65 def test_plot_staggered_grid_2d(self):
66 self._test_plot(StaggeredGrid(Noise(), extrapolation.ZERO, x=16, y=10, bounds=Box(x=1, y=1)) * 0.1)

Callers

nothing calls this directly

Calls 3

_test_plotMethod · 0.95
CenteredGridFunction · 0.90
NoiseClass · 0.90

Tested by

no test coverage detected