MCPcopy
hub / github.com/LCAV/pyroomacoustics / test_room_2d

Method test_room_2d

tests/test_room_plot.py:20–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19class TestRoomPlot(unittest.TestCase):
20 def test_room_2d(self):
21 room = pra.ShoeBox([3, 4], max_order=2)
22 room.add_source([1.4, 2.2])
23 room.add_microphone([2.3, 3.5])
24 room.plot()
25
26 def test_room_3d(self):
27 room = pra.ShoeBox([3, 4, 5], max_order=2)

Callers

nothing calls this directly

Calls 3

add_sourceMethod · 0.80
add_microphoneMethod · 0.80
plotMethod · 0.45

Tested by

no test coverage detected