summaryrefslogtreecommitdiff
path: root/test/test-text.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-04 13:12:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-04 13:12:24 +0000
commitd46d8385ab68fd8f902016b3e7406290cb46c0db (patch)
tree444eb326391f77e405a832236345548f85402f1c /test/test-text.cpp
parentCalculate and expose the extents of the terrain mesh (diff)
downloadilt-d46d8385ab68fd8f902016b3e7406290cb46c0db.tar.bz2
ilt-d46d8385ab68fd8f902016b3e7406290cb46c0db.tar.xz
ilt-d46d8385ab68fd8f902016b3e7406290cb46c0db.zip
Reformat test source
Diffstat (limited to 'test/test-text.cpp')
-rw-r--r--test/test-text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-text.cpp b/test/test-text.cpp
index 629892f..166a6fa 100644
--- a/test/test-text.cpp
+++ b/test/test-text.cpp
@@ -36,6 +36,7 @@ struct FontTest : public Font {
BOOST_TEST_DONT_PRINT_LOG_VALUE(Font::CharData);
using TextureSizeTestData = std::tuple<unsigned, unsigned, unsigned>;
+
BOOST_DATA_TEST_CASE(fontTextureSize, boost::unit_test::data::make<unsigned>({2, 3, 10, 50, 250}), fontHeight)
{
auto isPowerOfTwo = [](auto x) {
@@ -64,6 +65,7 @@ BOOST_AUTO_TEST_CASE(initialize_chardata)
}
using CharDataTest = std::tuple<decltype(get_codepoint(nullptr)), Font::CharData>;
+
BOOST_DATA_TEST_CASE(initialize_chardata_A,
boost::unit_test::data::make<CharDataTest>({
{'A', {0, {34, 35}, {627, 0}, {-1, 35}, 32}},