LCOV - code coverage report
Current view: top level - u8stream/include/u8 - u8_i32.inl (source / functions) Coverage Total Hit
Test: crystal-facet-uml_v1.63.2_covts Lines: 100.0 % 8 8
Test Date: 2025-05-01 10:10:14 Functions: 100.0 % 4 4

            Line data    Source code
       1              : /* File: u8_i32.inl; Copyright and License: see below */
       2              : 
       3           16 : static inline int_fast32_t u8_i32_max2 ( const int_fast32_t a, const int_fast32_t b )
       4              : {
       5           16 :     return ( a > b ? a : b );
       6              : }
       7              : 
       8          257 : static inline int_fast32_t u8_i32_max3 ( const int_fast32_t a, const int_fast32_t b, const int_fast32_t c )
       9              : {
      10          257 :     return ( a > b ? ( a > c ? a : c ) : ( b > c ? b : c ) );
      11              : }
      12              : 
      13           16 : static inline int_fast32_t u8_i32_min2 ( const int_fast32_t a, const int_fast32_t b )
      14              : {
      15           16 :     return ( a < b ? a : b );
      16              : }
      17              : 
      18            1 : static inline int_fast32_t u8_i32_min3 ( const int_fast32_t a, const int_fast32_t b, const int_fast32_t c )
      19              : {
      20            1 :     return ( a < b ? ( a < c ? a : c ) : ( b < c ? b : c ) );
      21              : }
      22              : 
      23              : 
      24              : /*
      25              : Copyright 2023-2025 Andreas Warnke
      26              : 
      27              : Licensed under the Apache License, Version 2.0 (the "License");
      28              : you may not use this file except in compliance with the License.
      29              : You may obtain a copy of the License at
      30              : 
      31              :     http://www.apache.org/licenses/LICENSE-2.0
      32              : 
      33              : Unless required by applicable law or agreed to in writing, software
      34              : distributed under the License is distributed on an "AS IS" BASIS,
      35              : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      36              : See the License for the specific language governing permissions and
      37              : limitations under the License.
      38              : */
        

Generated by: LCOV version 2.0-1