def test_45(self): assert pytest.approx(vect_angle([1,1,0], [1,1,0]), 45.0)
def test_180(self): assert pytest.approx(vect_angle([1,0,0], [-1,0,0]), 180.0)
def test_90(self): assert pytest.approx(vect_angle([1,0,0], [0,1,0]), 90.0)
def gamma(self): """cell angle gamma in degrees""" return vect_angle(self.__vects[0], self.__vects[1])
def test_0(self): assert pytest.approx(vect_angle([1,0,0], [1,0,0]), 0.0)
def alpha(self): """cell angle alpha in degrees""" return vect_angle(self.__vects[1], self.__vects[2])
def beta(self): """cell angle beta in degrees""" return vect_angle(self.__vects[0], self.__vects[2])
def test_0(self): assert pytest.approx(vect_angle([1, 0, 0], [1, 0, 0]), 0.0)
def test_45(self): assert pytest.approx(vect_angle([1, 1, 0], [1, 1, 0]), 45.0)
def test_90(self): assert pytest.approx(vect_angle([1, 0, 0], [0, 1, 0]), 90.0)
def test_180(self): assert pytest.approx(vect_angle([1, 0, 0], [-1, 0, 0]), 180.0)