add random test files

This commit is contained in:
Zoltán Vörös 2025-05-29 16:06:02 +02:00
parent c3d71de78e
commit ca0325112b
2 changed files with 5 additions and 2 deletions

View file

@ -5,5 +5,6 @@ except ImportError:
rng = np.random.Generator(1234)
random_array = rng.random((1, 2))
print("random() shape:", random_array.shape)
for generator in (rng.normal, rng.random, rng.uniform):
random_array = generator(size=(1, 2))
print("array shape:", random_array.shape)

View file

@ -0,0 +1,2 @@
random() shape: (1, 2)
normal() shape: (3, 3)