1- from LoopStructural .utils import strikedip2vector , azimuthplunge2vector
1+ from LoopStructural .utils import strikedip2vector , plungeazimuth2vector
22import numpy as np
33
44
@@ -19,18 +19,18 @@ def test_strikedip2vector():
1919
2020
2121# import numpy as np
22- # from LoopStructural.utils.maths import azimuthplunge2vector
22+ # from LoopStructural.utils.maths import plungeazimuth2vector
2323
2424
25- def test_azimuthplunge2vector_single_values ():
25+ def test_plungeazimuth2vector_single_values ():
2626 plunge = 0
2727 plunge_dir = 90
2828 expected_result = np .array ([[1 , 0 , 0 ]])
29- result = azimuthplunge2vector (plunge , plunge_dir )
29+ result = plungeazimuth2vector (plunge , plunge_dir )
3030 assert np .allclose (result , expected_result )
3131
3232
33- def test_azimuthplunge2vector_array_values ():
33+ def test_plungeazimuth2vector_array_values ():
3434 plunge = [0 , 90 , 0 ]
3535 plunge_dir = [90 , 90 , 0 ]
3636 expected_result = np .array (
@@ -40,12 +40,12 @@ def test_azimuthplunge2vector_array_values():
4040 [0 , 1 , 0 ],
4141 ]
4242 )
43- result = azimuthplunge2vector (plunge , plunge_dir )
43+ result = plungeazimuth2vector (plunge , plunge_dir )
4444 assert np .allclose (result , expected_result )
4545
4646
47- def test_azimuthplunge2vector_empty_arrays ():
47+ def test_plungeazimuth2vector_empty_arrays ():
4848 plunge = []
4949 plunge_dir = []
50- result = azimuthplunge2vector (plunge , plunge_dir )
50+ result = plungeazimuth2vector (plunge , plunge_dir )
5151 assert result .shape [0 ] == 0
0 commit comments