Ase::Test namespace

Helper namespace for unit testing.

The Test namespace offers utilities for unit tests. The Test namespace is made available by #include <ase/testing.hh>
See also ase/testing.hh.

Classes

class Timer

Functions

auto random_float() →  double
Return random double for reproduceble tests.
auto random_frange(double begin, double end) →  double
Return random double within range for reproduceble tests.
auto random_int64() →  uint64_t
Return random int for reproduceble tests.
auto random_irange(int64_t begin, int64_t end) →  int64_t
Return random int within range for reproduceble tests.
auto run(const StringS& test_names) →  int
Run named tests.
auto run(void) →  int
Run all registered tests.
auto slow() →  bool
Indicates whether slow tests should be run.
auto stringify_arg(const char* a, const char* str_a) →  String
== Stringify Args ==
auto verbose() →  bool
Indicates whether tests should run verbosely.