PLaSK library
Loading...
Searching...
No Matches
your_test.cpp
Go to the documentation of this file.
1/*
2 * This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3 * Copyright (c) 2022 Lodz University of Technology
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14#define BOOST_TEST_DYN_LINK
15#define BOOST_TEST_MODULE "Your solver test"
16#include <boost/test/unit_test.hpp>
17
18// This is needed because of a bug in Boost linkage in the newest Ubuntu
19#if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
20namespace boost { namespace unit_test { namespace ut_detail {
21std::string normalize_test_case_name(const_string name) {
22 return ( name[0] == '&' ? std::string(name.begin()+1, name.size()-1) : std::string(name.begin(), name.size() ));
23}
24}}}
25#endif
26
27#include "../your_solver.hpp"
28using namespace plask;
29
30BOOST_AUTO_TEST_SUITE(your_solver)
31
35
36