LCOV - code coverage report
Current view: top level - ccan/short_types/test - run-endian.c (source / functions) Hit Total Coverage
Test: skiboot.info Lines: 2 2 100.0 %
Date: 2024-01-02 21:04:04 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #include <ccan/endian/endian.h>
       2                 :            : #include <ccan/short_types/short_types.h>
       3                 :            : #include <ccan/tap/tap.h>
       4                 :            : #include <stdlib.h>
       5                 :            : #include <err.h>
       6                 :            : 
       7                 :          3 : int main(void)
       8                 :            : {
       9                 :            :         plan_tests(6);
      10                 :            : 
      11                 :            :         ok1(sizeof(be64) == 8);
      12                 :            :         ok1(sizeof(be32) == 4);
      13                 :            :         ok1(sizeof(be16) == 2);
      14                 :            : 
      15                 :            :         ok1(sizeof(le64) == 8);
      16                 :            :         ok1(sizeof(le32) == 4);
      17                 :            :         ok1(sizeof(le16) == 2);
      18                 :            : 
      19                 :          3 :         return exit_status();
      20                 :            : }

Generated by: LCOV version 1.14