2018-10-10 05:53:07 -04:00
|
|
|
#pragma once
|
|
|
|
|
2019-08-02 03:23:03 -04:00
|
|
|
#ifndef AK_TEST_SUITE
|
|
|
|
|
2018-10-28 04:36:21 -04:00
|
|
|
#ifdef KERNEL
|
2019-05-28 05:53:16 -04:00
|
|
|
# include <Kernel/Assertions.h>
|
2018-10-16 07:59:28 -04:00
|
|
|
#else
|
2019-05-28 05:53:16 -04:00
|
|
|
# include <assert.h>
|
|
|
|
# ifndef __serenity__
|
|
|
|
# define ASSERT assert
|
2019-06-18 02:52:21 -04:00
|
|
|
# define ASSERT_NOT_REACHED() assert(false)
|
2019-07-26 16:15:54 -04:00
|
|
|
# define RELEASE_ASSERT assert
|
2019-05-28 05:53:16 -04:00
|
|
|
# endif
|
2018-10-28 04:36:21 -04:00
|
|
|
#endif
|
2018-10-10 05:53:07 -04:00
|
|
|
|
2019-08-02 03:23:03 -04:00
|
|
|
#endif
|
|
|
|
|