Tests completed in 33 milliseconds.
108 assertions of 108 passed, 0 failed.
- System.Particle: Creation from particle count (4)Rerun1 ms
- Should initialize positions as vec3 array.@ 1 ms
- Should initialize positionsPrev as vec3 array.@ 1 ms
- Should initialize accumulatedForces as vec3 array.@ 1 ms
- Should initialize weights as float array.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:10159
- System.Particle: Creation from positions array (6)Rerun1 ms
- Should initialize positions as vec3 array.@ 0 ms
- Should initialize positionsPrev as vec3 array.@ 0 ms
- Should initialize accumulatedForces as vec3 array.@ 0 ms
- Should initialize weights as float array.@ 0 ms
- Should initialize positions with passed values.@ 1 ms
- Should initialize positionsPrev with passed values.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:10239
- System.Particle: Adding and removing local constraints (3)Rerun0 ms
- Should add local constraint.@ 0 ms
- Should allow adding duplicate constraints.@ 0 ms
- Should remove all instances of constraint.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:10354
- System.Particle: Adding and removing pin constraints (3)Rerun0 ms
- Should add pin constraint.@ 0 ms
- Should allow adding duplicate constraints.@ 0 ms
- Should remove all instances of constraint.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:10722
- System.Particle: Adding and removing forces (3)Rerun0 ms
- Should add force.@ 0 ms
- Should allow adding duplicate forces.@ 0 ms
- Should remove all instances of force.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:11093
- System.Particle: Setting weights (3)Rerun0 ms
- Should initialize weights with neutral value of 1.@ 0 ms
- Should set particle weight at index.@ 0 ms
- Should set all weights.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:11399
- Constraint: Creation (1)Rerun0 ms
- Should initialize indices as int array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:11762
- Constraint: Setting indices (2)Rerun0 ms
- Should set indices from integers.@ 0 ms
- Should set indices from array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:11879
- Constraint: Setting indices with index offset (2)Rerun0 ms
- Should set indices from integers.@ 0 ms
- Should set indices from array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:12126
- Constraint.Angle: Creation (2)Rerun0 ms
- Should create indices from int arguments.@ 0 ms
- Should create indices from int array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:12809
- Constraint.Angle: Application of angle (20)Rerun4 ms
- Should constrain particles to 0 radians.@ 1 ms
- Should constrain coincident particles to 0 radians.@ 1 ms
- Should constrain particles to 0.349 radians.@ 1 ms
- Should constrain coincident particles to 0.349 radians.@ 1 ms
- Should constrain particles to 0.698 radians.@ 1 ms
- Should constrain coincident particles to 0.698 radians.@ 2 ms
- Should constrain particles to 1.047 radians.@ 2 ms
- Should constrain coincident particles to 1.047 radians.@ 2 ms
- Should constrain particles to 1.396 radians.@ 2 ms
- Should constrain coincident particles to 1.396 radians.@ 3 ms
- Should constrain particles to 1.745 radians.@ 3 ms
- Should constrain coincident particles to 1.745 radians.@ 3 ms
- Should constrain particles to 2.094 radians.@ 3 ms
- Should constrain coincident particles to 2.094 radians.@ 3 ms
- Should constrain particles to 2.443 radians.@ 3 ms
- Should constrain coincident particles to 2.443 radians.@ 4 ms
- Should constrain particles to 2.792 radians.@ 4 ms
- Should constrain coincident particles to 2.792 radians.@ 4 ms
- Should constrain particles to 3.141 radians.@ 4 ms
- Should constrain coincident particles to 3.141 radians.@ 4 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:13084
- Constraint.Angle: Application of angle range (3)Rerun1 ms
- Should constrain particles if angle is greater than upper bound of range.@ 1 ms
- Should constrain particles if angle is less than lower bound of range.@ 1 ms
- Should not affect particles within range tolerance.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:13180
- Constraint.Axis: Creation (2)Rerun0 ms
- Should create indices from int arguments.@ 0 ms
- Should create indices from int array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:14081
- Constraint.Axis: Application (2)Rerun0 ms
- Should constrain single particle to axis.@ 0 ms
- Should constrain multiple particles to axis.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:14348
- Constraint.BoundingPlane: Creation (1)Rerun0 ms
- Should initialize origin and normal vec3s.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:14937
- Constraint.BoundingPlane: Application (2)Rerun1 ms
- Should constrain particles behind plane.@ 1 ms
- Should not affect particles in front of plane.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:15103
- Constraint.BoundingPlane: Application with distance influence (2)Rerun0 ms
- Should constrain particles behind plane.@ 0 ms
- Should constrain particles in front of plane within distance influence.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:15485
- Constraint.Box: Creation (1)Rerun0 ms
- Should initialize bounds from min and max vec3s.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:16008
- Constraint.Box: Application (3)Rerun0 ms
- Should bound x position.@ 0 ms
- Should bound y position.@ 0 ms
- Should bound z position.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:16189
- Constraint.Distance: Creation (4)Rerun0 ms
- Should initialize precalculated min^2.@ 0 ms
- Should initialize precalculated max^2.@ 0 ms
- Should create indices from int arguments.@ 0 ms
- Should create indices from int array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:16661
- Constraint.Distance: Application of distance (2)Rerun1 ms
- Should constrain single set of particles to distance.@ 1 ms
- Should constrain multiple sets of particles to distance.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:17044
- Constraint.Distance: Application of distance range (4)Rerun0 ms
- Should not affect coincident particles if lower bound is 0.@ 0 ms
- Should not affect particles within range tolerance.@ 0 ms
- Should constrain particles if distance is less than lower bound of range.@ 0 ms
- Should constrain particles if distance is greater than upper bound of range.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:17475
- Constraint.Plane: Creation (2)Rerun0 ms
- Should create indices from int arguments.@ 0 ms
- Should create indices from int array.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:18911
- Constraint.Plane: Application (6)Rerun1 ms
- Should cache plane normal vector.@ 0 ms
- Should constrain single set of particles to plane.@ 0 ms
- Should constrain multiple sets of particles to plane.@ 1 ms
- Should cache plane normal vector.@ 1 ms
- Should constrain single set of particles to plane.@ 1 ms
- Should constrain multiple sets of particles to plane.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:19190
- Constraint.Point: Creation (1)Rerun0 ms
- Should initialize position as passed vec3.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:19420
- Constraint.Point: Application (2)Rerun0 ms
- Should set particle's position.@ 0 ms
- Should set particle's previous position.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:19567
- Force: Creation (3)Rerun0 ms
- Should initialize vector as vec3 array.@ 0 ms
- Should initialize type as attractor by default.@ 0 ms
- Should set type per constructor options.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:19936
- Force.Directional: Application (1)Rerun0 ms
- Should be directly applied to all particles.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:20356
- Force.Point: Creation (1)Rerun1 ms
- Should initialize precalculated radius^2.@ 1 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:20672
- Force.Point: Application of attractor (2)Rerun0 ms
- Attractor should move particles outside its radius toward defined point.@ 0 ms
- Attractor should not affect particles within its radius.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:20806
- Force.Point: Application of repulsor (2)Rerun0 ms
- Repulsor should move particles within its radius away from defined point.@ 0 ms
- Repulsor should not affect particles outside its radius.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:21247
- Force.Point: Application of attractor/repulsor (2)Rerun0 ms
- Attractor/Repulsor should move particles within its radius away from defined point.@ 0 ms
- Attractor/Repulsor should move particles outside its radius toward defined point.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:21720
- Vec3: Setting a vector of a float buffer (3)Rerun0 ms
- Should set first vec3 from vec3.@ 0 ms
- Should set second vec3 from vec3.@ 0 ms
- Should set third vec3 from floats.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:22325
- Vec3: Getting a vector from a float buffer (2)Rerun0 ms
- Should get first vec3.@ 0 ms
- Should get second vec3.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:22716
- Vec3: Calculating vector length (2)Rerun0 ms
- Should calculate length.@ 0 ms
- Should calculate squared length.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:22989
- Vec3: Calculating vector distance (2)Rerun0 ms
- Should calculate distance.@ 0 ms
- Should calculate squared distance.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:23211
- Vec3: Normalizing a vector (1)Rerun0 ms
- Should normalize vector in place.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:23451
- Vec3: Calculating vector angle (1)Rerun0 ms
- Should calculate angle between vectors.@ 0 ms
Source: at https://particulatejs.org/test/test-bundle.js:2:23609