German Larrain avatar German Larrain committed 0743fbd

tests.utilities_geomtry: changed name of 'test_get_inclination'

Comments (0)

Files changed (1)


-def test_get_inclination(axis, angle, correct):
+def test_calc_inclination(axis, angle, correct):
 	#axis = mut.upAxis
 	#angle = mut.pi/4
 	rot_matrix = gemut.calc_rotation_matrix(axis, angle)
 	# rotation around axii perpendicular to the ground does not affect
 	# the inclination
-	test_get_inclination(mut.upAxis, mut.pi/4, 0)
-	test_get_inclination(mut.upAxis, 3*mut.pi/9, 0)
-	test_get_inclination(mut.upAxis, -mut.pi/8, 0)
-	test_get_inclination(mut.downAxis, mut.pi/4, 0)
-	test_get_inclination(mut.downAxis, 3*mut.pi/9, 0)
-	test_get_inclination(mut.downAxis, -mut.pi/8, 0)
+	test_calc_inclination(mut.upAxis, mut.pi/4, 0)
+	test_calc_inclination(mut.upAxis, 3*mut.pi/9, 0)
+	test_calc_inclination(mut.upAxis, -mut.pi/8, 0)
+	test_calc_inclination(mut.downAxis, mut.pi/4, 0)
+	test_calc_inclination(mut.downAxis, 3*mut.pi/9, 0)
+	test_calc_inclination(mut.downAxis, -mut.pi/8, 0)
-	test_get_inclination(mut.rightAxis, mut.pi/6, mut.pi/6)
-	test_get_inclination(mut.rightAxis, 3*mut.pi/9, 3*mut.pi/9)
-	test_get_inclination(mut.rightAxis, -mut.pi/8, -mut.pi/8)
+	test_calc_inclination(mut.rightAxis, mut.pi/6, mut.pi/6)
+	test_calc_inclination(mut.rightAxis, 3*mut.pi/9, 3*mut.pi/9)
+	test_calc_inclination(mut.rightAxis, -mut.pi/8, -mut.pi/8)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.