diff options
| author | Stefan Boberg <[email protected]> | 2021-09-20 10:10:00 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-20 10:10:00 +0200 |
| commit | d60c16b89e5e31eca2dc2b61226a32d317f1a1ad (patch) | |
| tree | 2ba5b9d9777872e61b9b23f05bb300da76b30b07 /zencore/include | |
| parent | Merge branch 'main' of https://github.com/EpicGames/zen (diff) | |
| download | zen-d60c16b89e5e31eca2dc2b61226a32d317f1a1ad.tar.xz zen-d60c16b89e5e31eca2dc2b61226a32d317f1a1ad.zip | |
Added testing.h to wrap doctest.h
Provides no real abstraction right now but may in the future. This is introduced primarily to enable centralised configuration of whether tests should be included or not
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/testing.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zencore/include/zencore/testing.h b/zencore/include/zencore/testing.h new file mode 100644 index 000000000..75efb06e2 --- /dev/null +++ b/zencore/include/zencore/testing.h @@ -0,0 +1,11 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#ifndef ZEN_WITH_TESTS +# define ZEN_WITH_TESTS 1 +#endif + +#if ZEN_WITH_TESTS +# include <doctest/doctest.h> +#endif |