558e457c8190f272ed87250dc291f87a3d4e5333,pyroomacoustics/tests/test_visibility_shoebox2d.py,TestVisibilityShoeBox2D,test_visibility_outside,#TestVisibilityShoeBox2D#,34
Before Change
self.assertTrue(all(computed == expected))
def test_visibility_outside(self):
computed = room1.checkVisibilityForAllImages(room1.sources[0], np.array([5, 5]))
expected = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
self.assertTrue(all(computed == expected))
def test_visibility_upperRight(self):
After Change
self.assertTrue(np.allclose(images_found[:,visibilities[0,:]], sources[:,visible_middle]))
def test_visibility_outside(self):
self.assertTrue(np.allclose(images_found[:,visibilities[1,:]], sources[:,visible_outside]))
def test_visibility_upperRight(self):
self.assertTrue(np.allclose(images_found[:,visibilities[2,:]], sources[:,visible_upperRight]))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 8
Instances
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_outside
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_outside
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_middle
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_lowerLeft
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_upperRight
Project Name: LCAV/pyroomacoustics
Commit Name: 558e457c8190f272ed87250dc291f87a3d4e5333
Time: 2017-04-04
Author: fakufaku@gmail.com
File Name: pyroomacoustics/tests/test_visibility_shoebox2d.py
Class Name: TestVisibilityShoeBox2D
Method Name: test_visibility_lowMiddle