Image 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
..
README.md 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
all_of.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
any_of.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
ap.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
at.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
cartesian_product.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
drop_back.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
drop_front.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
drop_while.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
for_each.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
group.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
index_if.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
insert.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
insert_range.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
intersperse.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
is_empty.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
length.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
lexicographical_compare.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
make.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
none_of.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
partition.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
permutations.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
remove_at.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
remove_range.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
reverse.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
scans.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
sequence.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
slice.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
sort.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
span.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
take_back.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
take_front.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
take_while.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
test_case.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
transform.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
unfolds.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
unique.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ
zips.hpp 2de73b6b83 Support for BestZ / Line of Sight / navmesh pathing 4 gadi atpakaļ

README.md

The headers in this directory provide facilities for automatic unit testing. Basically, each header defines unit tests for an algorithm or a set of related algorithms. To get the tests for these algorithms, simply include the header at global scope. However, before including the header, you must define the following macros:

`MAKE_TUPLE(...)`
    Must expand to a sequence holding `__VA_ARGS__`. A valid definition
    would be `hana::make_tuple(__VA_ARGS__)`.

`TUPLE_TYPE(...)`
    Must expand to the type of a sequence holding objects of type `__VA_ARGS__`.
    A valid definition would be `hana::tuple<__VA_ARGS__>`.

`TUPLE_TAG`
    Must expand to the tag of the sequence. A valid definition would
    be `hana::tuple_tag`.

The following macros may or may not be defined:

`MAKE_TUPLE_NO_CONSTEXPR`
    Must be defined if the `MAKE_TUPLE` macro can't be used inside a
    constant expression. Otherwise, `MAKE_TUPLE` is assumed to be able
    to construct a `constexpr` container.

The following directories contain automatic unit tests, and the following is sufficient when adding a new automatic unit test (in a file ${FILE}):

DIRECTORIES=$(find test -type d -name auto | grep -v test/_include/auto)
for d in ${DIRECTORIES}; do
    cat > ${d}/${FILE}.cpp <<EOF
// Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)

#include "_specs.hpp"
#include <auto/${FILE}.hpp>

int main() { }
EOF
done