diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-08-10 20:59:40 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-08-10 21:01:51 +0200 |
| commit | 81111f5f691ccf5ebb55d992f9069de2f6731214 (patch) | |
| tree | e68880693c1d15479be972b150002b7a60d68370 | |
| parent | 65d8091ddc1e78629ae8268fdb38a8654c92423b (diff) | |
| download | Project-Tick-81111f5f691ccf5ebb55d992f9069de2f6731214.tar.gz Project-Tick-81111f5f691ccf5ebb55d992f9069de2f6731214.zip | |
Lay foundation for formatter tests
| -rw-r--r-- | test/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | test/format_test.cpp | 28 |
2 files changed, 32 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index af5dd4532b..89a445d402 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -16,3 +16,7 @@ add_custom_command(TARGET read_test POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/testfiles ${CMAKE_CURRENT_BINARY_DIR}) add_test(read_test read_test) + +add_executable(format_test format_test.cpp) +target_link_libraries(format_test nbt++) +add_test(format_test format_test) diff --git a/test/format_test.cpp b/test/format_test.cpp new file mode 100644 index 0000000000..7fb7ca45d8 --- /dev/null +++ b/test/format_test.cpp @@ -0,0 +1,28 @@ +/* + * libnbt++ - A library for the Minecraft Named Binary Tag format. + * Copyright (C) 2013, 2015 ljfa-ag + * + * This file is part of libnbt++. + * + * libnbt++ is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * libnbt++ 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with libnbt++. If not, see <http://www.gnu.org/licenses/>. + */ +#include <iostream> + +using namespace nbt; + +int main() +{ + +} + |
