summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-09-10add ray_intersection unit test.Anthony LaTorre
2011-09-06geometry on the GPU is now a struct created in the GPUGeometry class. coding ↵Anthony LaTorre
style for cuda code is now compliant with python PEP 7 -- Style Guide for C Code.
2011-09-03mergeStan Seibert
2011-09-03GPU-based sampling from an arbitrary distribition.Stan Seibert
The sample_cdf() device function will draw random numbers from an arbitrary disribution given a cumulative distribution function in the form of a list of x,y points, beginning with y=0 and ending with y=1. For an example of how to convert a ROOT histogram to this form, see the unit test in test_sample_cdf.py
2011-09-02update event structure. break gpu.GPU class into separate smaller ↵Anthony LaTorre
independent classes.
2011-08-23Add a RootReader class that also functions as an iterator, also createStan Seibert
a simple unit test for event reading and writing. There were several minor I/O bugs that are now fixed! Always test your code, kids!
2011-08-22Benchmark and unit test for PDF creationStan Seibert
2011-08-20A failing test demonstrating the faiure of G4ParallelGenerator to produce ↵Stan Seibert
photons when the parent particle is at (1,0,0)
2011-08-20A simple unit test of the constant particle gunStan Seibert
2011-08-19Rename test scripts so nose will find them.Stan Seibert
2011-08-18Unit test to verify that photons at normal incidence do not abort.Stan Seibert
2011-08-18Replace Rayleigh scattering implementation with that from SNOMAN. TheStan Seibert
angular distribution is slightly different, and now fits with the distribution given in the GEANT4 physics reference manual. Unit test is now included to verify the correctness of the scattering.
2011-05-15cleanup. fixed testsAnthony LaTorre
2011-05-06added unary minus matrix; updated testAnthony LaTorre
2011-05-06added unary minus operator for matrix and float3; updated testsAnthony LaTorre
2011-05-06added rotationsAnthony LaTorre
2011-05-05added matrix struct and operations; added matrix tests; switched linear ↵Anthony LaTorre
algebra operation tests to use nosetests
2011-05-05finished basic linear algebra operations and testsAnthony LaTorre