def test_get_cv_float(self, inp):
        snap = make_1d_traj([0.0])[0]
        volume = self._vol_for_cv_type(inp)
        val = volume._get_cv_float(snap)
        expected = inp in ['float', 'array1']
        assert isinstance(val, float) is expected