mastodonpp/tests/main.cpp

25 lines
885 B
C++
Raw Permalink Normal View History

2020-01-03 09:47:16 +01:00
/* This file is part of mastodonpp.
2022-08-01 14:01:38 +02:00
* Copyright © 2020, 2022 tastytea <tastytea@tastytea.de>
2020-01-03 09:47:16 +01:00
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define CATCH_CONFIG_MAIN
2022-08-01 14:01:38 +02:00
// catch 3 does not have catch.hpp anymore
#if __has_include(<catch.hpp>)
# include <catch.hpp>
#else
# include <catch_all.hpp>
#endif