Tensor module unit-tests (mostly) ignore seed parameter

Submitted by Christoph Hertzberg @chhtz

Assigned to Nobody

Link to original bugzilla bug (#1602)
Version: 3.4 (development)

Description

The tensor module uses its own random generator which is by default initialized based on the system's random generator and the current system time.

This makes reproducing/debugging failing unit-tests harder than necessary.

Generally, I think, random number generation should be shared between the Core module and the Tensor module.
But at least during unit-tests there should be no seeds based on the current system time (except in the main() method, when no seed is passed).

Edited by Christoph Hertzberg