summaryrefslogtreecommitdiff
path: root/test/test_reemission.py
diff options
context:
space:
mode:
authorAndy Mastbaum <mastbaum@hep.upenn.edu>2012-05-01 11:46:30 -0400
committertlatorre <tlatorre@uchicago.edu>2021-05-09 08:42:39 -0700
commit8a4a94466930205826c638a69a3501b6aecd5006 (patch)
tree61196154e6b40e3cbebc9b7ac7fa7b75ec6f2d05 /test/test_reemission.py
parentb22129a30493e415a6d239cc64f1695eb1a8be93 (diff)
downloadchroma-8a4a94466930205826c638a69a3501b6aecd5006.tar.gz
chroma-8a4a94466930205826c638a69a3501b6aecd5006.tar.bz2
chroma-8a4a94466930205826c638a69a3501b6aecd5006.zip
more unit test fixes
update remaining unit tests to build BVHs with ``loader.create_geometry_from_obj`` instead of the (removed) ``build`` method.
Diffstat (limited to 'test/test_reemission.py')
-rw-r--r--test/test_reemission.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test_reemission.py b/test/test_reemission.py
index 8fd3569..4ad5fef 100644
--- a/test/test_reemission.py
+++ b/test/test_reemission.py
@@ -13,10 +13,11 @@ from chroma.tools import enable_debug_on_crash
class TestReemission(unittest.TestCase):
def testBulkReemission(self):
- '''Test bulk reemission by starting a bunch of monoenergetic photons at
- the center of a wavelength-shifting sphere, forcing reemission, and
- checking that the final wavelength distribution matches the wls
- spectrum.
+ '''Test bulk reemission
+
+ Start a bunch of monoenergetic photons at the center of a wavelength-
+ shifting sphere, forcing reemission, and check that the final
+ wavelength distribution matches the wls spectrum.
'''
nphotons = 1000