Mercurial > hg > orthanc-stone
comparison OrthancStone/UnitTestsSources/GenericToolboxTests.cpp @ 2161:e65fe2e50fde dicom-sr tip
integration mainline->dicom-sr
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Sep 2024 22:34:17 +0200 |
parents | 71d6ad7036b7 |
children |
comparison
equal
deleted
inserted
replaced
2152:f68f9a8d0d63 | 2161:e65fe2e50fde |
---|---|
4340 using OrthancStone::GenericToolbox::StringToDoubleEx; | 4340 using OrthancStone::GenericToolbox::StringToDoubleEx; |
4341 | 4341 |
4342 const char* s = " \t 0.0/.123/3 \t/12.5e-3//-43.1 \t "; | 4342 const char* s = " \t 0.0/.123/3 \t/12.5e-3//-43.1 \t "; |
4343 | 4343 |
4344 int32_t size; | 4344 int32_t size; |
4345 double r; | 4345 double r = -1.0; |
4346 const char* p = s; | 4346 const char* p = s; |
4347 | 4347 |
4348 while (*p == ' ' || *p == '\t') | 4348 while (*p == ' ' || *p == '\t') |
4349 ++p; | 4349 ++p; |
4350 | 4350 |
4388 using OrthancStone::GenericToolbox::StringToDoubleEx; | 4388 using OrthancStone::GenericToolbox::StringToDoubleEx; |
4389 | 4389 |
4390 const char* s = " \t 0.0/.123/3/12.5e-3//-43.1e-2 \t "; | 4390 const char* s = " \t 0.0/.123/3/12.5e-3//-43.1e-2 \t "; |
4391 | 4391 |
4392 int32_t size; | 4392 int32_t size; |
4393 double r; | 4393 double r = -1.0; |
4394 const char* p = s; | 4394 const char* p = s; |
4395 | 4395 |
4396 while (*p == ' ' || *p == '\t') | 4396 while (*p == ' ' || *p == '\t') |
4397 ++p; | 4397 ++p; |
4398 | 4398 |