alle tests klappen
This commit is contained in:
parent
a50e9bfb91
commit
757562ede9
@ -1,4 +1,4 @@
|
|||||||
from matrixmania import matmul
|
from matrixmania.compute import matmul
|
||||||
|
|
||||||
def test_matmul():
|
def test_matmul():
|
||||||
matrix_a = [[3, 4, -1, 4],
|
matrix_a = [[3, 4, -1, 4],
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
from matrixmania import project_ortho
|
from matrixmania.compute import project_ortho
|
||||||
|
|
||||||
def test_projection():
|
def test_projection():
|
||||||
point = (1.0, 2.0, 3.0)
|
point = (1.0, 2.0, 3.0)
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
from matrixmania import rot_2D
|
from matrixmania.compute import rot_2D
|
||||||
|
|
||||||
def test_rot_2D():
|
def test_rot_2D():
|
||||||
angle = 90
|
angle = 90
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
from matrixmania import rot_3D
|
from matrixmania.compute import rot_3D
|
||||||
|
|
||||||
def test_rot_3D():
|
def test_rot_3D():
|
||||||
angle = 90
|
angle = 90
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
from matrixmania import transpose
|
from matrixmania.compute import transpose
|
||||||
|
|
||||||
def test_transpose():
|
def test_transpose():
|
||||||
matrix = [
|
matrix = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user