diff tests/test_matrix.nim @ 809:fe5aced90cb2

did: a ton of small improvments
author Sam <sam@basx.dev>
date Sun, 17 Sep 2023 21:09:38 +0700
parents 9cfd59c93ae8
children 71315636ba82
line wrap: on
line diff
--- a/tests/test_matrix.nim	Thu Sep 14 23:59:10 2023 +0700
+++ b/tests/test_matrix.nim	Sun Sep 17 21:09:38 2023 +0700
@@ -136,5 +136,15 @@
   echo TMat3[float32]().randomized() * One3.randomized()
   echo TMat4[float32]().randomized() * One4.randomized()
 
+  echo float32(rand(1'f32)) * TMat2[float32]().randomized()
+  echo TMat2[float]().randomized() * rand(1'f)
+  echo TMat2[float]().randomized() * rand(1'f)
+  echo TMat23[float]().randomized() * rand(1'f)
+  echo TMat23[float]().randomized() * rand(1'f)
+  echo TMat3[float]().randomized() * rand(1'f)
+  echo TMat34[float]().randomized() * rand(1'f)
+  echo TMat43[float]().randomized() * rand(1'f)
+  echo TMat4[float]().randomized() * rand(1'f)
+
 randomize()
 testMatrix()