b8438b3258
also: - fixed value comparison with special floats - added all the remaining conformance tests from BurntSushi/toml-test and iarna/toml-spec-tests - added toml::inserter - added license boilerplate to test files
19 lines
548 B
C++
19 lines
548 B
C++
// This file is a part of toml++ and is subject to the the terms of the MIT license.
|
|
// Copyright (c) 2019-2020 Mark Gillard <mark.gillard@outlook.com.au>
|
|
// See https://github.com/marzer/tomlplusplus/blob/master/LICENSE for the full license text.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#define CATCH_CONFIG_RUNNER
|
|
#include "catch2.h"
|
|
#include <clocale>
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
#ifdef _WIN32
|
|
SetConsoleOutputCP(65001);
|
|
#endif
|
|
std::setlocale(LC_ALL, "");
|
|
std::locale::global(std::locale(""));
|
|
return Catch::Session().run(argc, argv);
|
|
}
|