def test_is_non_zero_length_zero(self): result = quaternion.is_non_zero_length([0., 0., 0., 0.]) self.assertFalse(result)
def test_is_non_zero_length(self): result = quaternion.is_non_zero_length([1., 0., 0., 0.]) self.assertTrue(result)