@@ -407,38 +407,6 @@ var _ = Describe("Continuous", func() {
407407 nil ,
408408 func (datum * continuous.Continuous , units * string , rateUnits * string ) { datum .TrendRate = nil },
409409 ),
410- Entry ("trend rate units missing; trend rate out of range (lower)" ,
411- pointer .FromString ("mmol/L" ),
412- nil ,
413- func (datum * continuous.Continuous , units * string , rateUnits * string ) {
414- datum .TrendRate = pointer .FromFloat64 (- 5.51 )
415- },
416- errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/trendRateUnits" , NewMeta ()),
417- ),
418- Entry ("trend rate units missing; trend rate in range (lower)" ,
419- pointer .FromString ("mmol/L" ),
420- nil ,
421- func (datum * continuous.Continuous , units * string , rateUnits * string ) {
422- datum .TrendRate = pointer .FromFloat64 (- 5.5 )
423- },
424- errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/trendRateUnits" , NewMeta ()),
425- ),
426- Entry ("trend rate units missing; trend rate in range (upper)" ,
427- pointer .FromString ("mmol/L" ),
428- nil ,
429- func (datum * continuous.Continuous , units * string , rateUnits * string ) {
430- datum .TrendRate = pointer .FromFloat64 (5.5 )
431- },
432- errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/trendRateUnits" , NewMeta ()),
433- ),
434- Entry ("trend rate units missing; trend rate out of range (upper)" ,
435- pointer .FromString ("mmol/L" ),
436- nil ,
437- func (datum * continuous.Continuous , units * string , rateUnits * string ) {
438- datum .TrendRate = pointer .FromFloat64 (5.51 )
439- },
440- errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/trendRateUnits" , NewMeta ()),
441- ),
442410 Entry ("trend rate units invalid; trend rate missing" ,
443411 pointer .FromString ("mmol/L" ),
444412 pointer .FromString ("invalid" ),
@@ -603,7 +571,6 @@ var _ = Describe("Continuous", func() {
603571 errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueEmpty (), "/type" , & types.Meta {}),
604572 errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/units" , & types.Meta {}),
605573 errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/value" , & types.Meta {}),
606- errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotExists (), "/trendRateUnits" , & types.Meta {}),
607574 errorsTest .WithPointerSourceAndMeta (structureValidator .ErrorValueNotInRange (- 1 , 0 , 86400000 ), "/sampleInterval" , & types.Meta {}),
608575 ),
609576 )
0 commit comments