@@ -718,44 +718,44 @@ create or replace type body ut_expectation as
718
718
return l_result;
719
719
end;
720
720
721
- member function to_be_within_pct(a_dist natural) return ut_be_within_pct is
722
- l_result ut_be_within_pct;
723
- begin
724
- l_result := ut_be_within_pct(a_dist);
725
- l_result.expectation := self;
726
- return l_result;
721
+ member function to_be_within_pct(a_dist natural) return ut_be_within_pct is
722
+ l_result ut_be_within_pct;
723
+ begin
724
+ l_result := ut_be_within_pct(a_dist);
725
+ l_result.expectation := self;
726
+ return l_result;
727
727
end;
728
728
729
729
member function not_to_be_within(a_dist natural) return ut_be_within is
730
- l_result ut_matcher ;
730
+ l_result ut_be_within ;
731
731
begin
732
- l_result := ut_be_within(a_dist).negated();
732
+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
733
733
l_result.expectation := self;
734
- return treat( l_result as ut_be_within) ;
734
+ return l_result;
735
735
end;
736
736
737
737
member function not_to_be_within(a_dist dsinterval_unconstrained) return ut_be_within is
738
- l_result ut_matcher ;
738
+ l_result ut_be_within ;
739
739
begin
740
- l_result := ut_be_within(a_dist).negated();
740
+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
741
741
l_result.expectation := self;
742
- return treat( l_result as ut_be_within) ;
742
+ return l_result;
743
743
end;
744
744
745
745
member function not_to_be_within(a_dist yminterval_unconstrained) return ut_be_within is
746
- l_result ut_matcher ;
746
+ l_result ut_be_within ;
747
747
begin
748
- l_result := ut_be_within(a_dist).negated();
748
+ l_result := treat( ut_be_within(a_dist).negated() as ut_be_within );
749
749
l_result.expectation := self;
750
- return treat( l_result as ut_be_within) ;
750
+ return l_result;
751
751
end;
752
752
753
- member function not_to_be_within_pct(a_dist natural) return ut_be_within_pct is
754
- l_result ut_matcher ;
755
- begin
756
- l_result := ut_be_within_pct(a_dist).negated();
757
- l_result.expectation := self;
758
- return treat( l_result as ut_be_within_pct) ;
753
+ member function not_to_be_within_pct(a_dist natural) return ut_be_within_pct is
754
+ l_result ut_be_within ;
755
+ begin
756
+ l_result := treat( ut_be_within_pct(a_dist).negated() as ut_be_within );
757
+ l_result.expectation := self;
758
+ return l_result;
759
759
end;
760
760
761
761
end;
0 commit comments