LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Line data Source code 1 : #pragma once 2 : 3 : #include <iostream> 4 : #include <wlog/init.hpp> 5 29 : inline bool test( bool expr, const std::string& file, int line) 6 : { 7 29 : if ( !expr ) 8 0 : std::cerr << "ERROR in " << file << ":" << line << std::endl; 9 29 : return expr; 10 : } 11 : 12 : #define TEST( X ) if ( !test( X, __FILE__, __LINE__ ) ) return __LINE__; |
![]() |
Generated by: LCOV version 1.10 |