Mercurial > hg > orthanc-stone
comparison UnitTestsSources/GenericToolboxTests.cpp @ 1680:03afa09cfcf1
running the tests of the Orthanc Framework in WebAssembly
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Nov 2020 16:39:54 +0100 |
parents | 5b8b88e5bfd6 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1679:5b8b88e5bfd6 | 1680:03afa09cfcf1 |
---|---|
24 #include <boost/lexical_cast.hpp> | 24 #include <boost/lexical_cast.hpp> |
25 #include <boost/enable_shared_from_this.hpp> | 25 #include <boost/enable_shared_from_this.hpp> |
26 | 26 |
27 #include <gtest/gtest.h> | 27 #include <gtest/gtest.h> |
28 #include <stdint.h> | 28 #include <stdint.h> |
29 #include <inttypes.h> // For PRId64 | |
30 #include <cmath> | 29 #include <cmath> |
30 | |
31 #if __cplusplus >= 201103L // Is C++11? | |
32 # include <cinttypes> // For PRId64 | |
33 #else | |
34 # define PRId64 "%lld" | |
35 #endif | |
31 | 36 |
32 TEST(GenericToolbox, TestLegitDoubleString) | 37 TEST(GenericToolbox, TestLegitDoubleString) |
33 { | 38 { |
34 using OrthancStone::GenericToolbox::LegitDoubleString; | 39 using OrthancStone::GenericToolbox::LegitDoubleString; |
35 | 40 |