Lumiera  0.pre.03
»edit your freedom«
query-diagnostics.hpp File Reference

Go to the source code of this file.

Description

diagnostic helpers to support test related to predicate queries

Definition in file query-diagnostics.hpp.

#include "lib/format-string.hpp"
#include "lib/random.hpp"

Functions

string garbage_query (int degree=0)
 
string garbage_term ()
 

Variables

const string garbage {"asanisimasasmicksmaggtutti"}
 
const uint MAX_DEGREE_RAND = 9
 
_Fmt predicatePattern {"%s_%02i( %s )"}
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Function Documentation

◆ garbage_query()

string lib::query::test::garbage_query ( int  degree = 0)
inline
Parameters
degreefabricating (random) query strings

Definition at line 58 of file query-diagnostics.hpp.

References lib::query::test::garbage_query(), and lib::rani().

Referenced by QueryUtils_test::check_countPred(), and lib::query::test::garbage_query().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: