fn row_ids_filter_nan() {
        let data = vec![22.3, f64::NAN, f64::NEG_INFINITY, f64::INFINITY];

        let cases: Vec<Box<dyn ScalarEncoding<f64>>> = vec![
            Box::new(RLE::<_, _, _>::new_from_iter(
                data.iter().cloned(),
                NoOpTranscoder {}, // No transcoding of values (store as physical type f64)
            )),
            Box::new(FixedNull::<Float64Type, f64, _>::new(
                PrimitiveArray::from(data.clone()),
                NoOpTranscoder {},
            )),
            Box::new(Fixed::<f64, f64, _>::new(data, NoOpTranscoder {})),
        ];

        for enc in cases {
            _row_ids_filter_nan(enc)
        }
    }
// Test NaN behaviour when `FloatEncoder`s are used.
//
// TODO(edd): I need to add the correct comparators to the scalar encodings
//            so that they behave the same as PG
//
Test NaN behaviour when `FloatEncoder`s are used.
TODO(edd): I need to add the correct comparators to the scalar encodings
so that they behave the same as PG
Test NaN behaviour when ` FloatEncoder ` s are used . TODO ( edd ) : I need to add the correct comparators to the scalar encodings so that they behave the same as PG
fn row_ids_filter_nan() {
        let data = vec![22.3, f64::NAN, f64::NEG_INFINITY, f64::INFINITY];
        let cases: Vec<Box<dyn ScalarEncoding<f64>>> = vec![
            Box::new(RLE::<_, _, _>::new_from_iter(
                data.iter().cloned(),
                NoOpTranscoder {}, // No transcoding of values (store as physical type f64)
            )),
            Box::new(FixedNull::<Float64Type, f64, _>::new(
                PrimitiveArray::from(data.clone()),
                NoOpTranscoder {},
            )),
            Box::new(Fixed::<f64, f64, _>::new(data, NoOpTranscoder {})),
        ];
        for enc in cases {
            _row_ids_filter_nan(enc)
        }
    }
fn row_ids_filter_nan ( ) { let data = vec ! [ 22.3 f64 NAN f64 NEG_INFINITY f64 INFINITY ] ; let cases : Vec < Box < dyn ScalarEncoding < f64 > > > = vec ! [ Box new ( RLE new_from_iter ( data iter ( ) cloned ( ) NoOpTranscoder { } // No transcoding of values (store as physical type f64) ) ) Box new ( FixedNull Float64Type f64 new ( PrimitiveArray from ( data clone ( ) ) NoOpTranscoder { } ) ) Box new ( Fixed f64 f64 new ( data NoOpTranscoder { } ) ) ] ; for enc in cases { _row_ids_filter_nan ( enc ) } }
Test NaN behaviour when `FloatEncoder`s are used.
Test NaN behaviour when ` FloatEncoder ` s are used .