Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ohollmann:staging:openssl
dcmtk
0001-Fixed-DcmDecimalString-unit-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fixed-DcmDecimalString-unit-tests.patch of Package dcmtk
From 66c317feae446deda1a389226aa24c95a0eeac4c Mon Sep 17 00:00:00 2001 From: Marco Eichelberg <dicom@offis.de> Date: Wed, 13 Mar 2024 23:03:40 +0100 Subject: [PATCH] Fixed DcmDecimalString unit tests. --- dcmdata/tests/tvrds.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dcmdata/tests/tvrds.cc b/dcmdata/tests/tvrds.cc index a9132a341..0e929304d 100644 --- a/dcmdata/tests/tvrds.cc +++ b/dcmdata/tests/tvrds.cc @@ -1,6 +1,6 @@ /* * - * Copyright (C) 2011-2020, OFFIS e.V. + * Copyright (C) 2011-2024, OFFIS e.V. * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation were developed by @@ -30,7 +30,7 @@ OFTEST(dcmdata_decimalString_1) { - DcmDecimalString decStr(DCM_ContourData, EVR_DS); + DcmDecimalString decStr(DCM_ContourData); OFVector<Float64> doubleVals; OFCHECK(decStr.putString("1\\2.0\\3.5\\-4.99\\+500.005\\6.66E-01").good()); OFCHECK(decStr.getFloat64Vector(doubleVals).good()); @@ -45,7 +45,7 @@ OFTEST(dcmdata_decimalString_1) OFTEST(dcmdata_decimalString_2) { - DcmDecimalString decStr(DCM_ContourData, EVR_DS); + DcmDecimalString decStr(DCM_ContourData); OFVector<Float64> doubleVals; /* insert a NULL byte into the string */ OFCHECK(decStr.putString("1\\2.0\\3.5\\-4.99\0\\+500.005\\6.66E-01", 34).good()); @@ -61,7 +61,7 @@ OFTEST(dcmdata_decimalString_2) OFTEST(dcmdata_decimalString_3) { - DcmDecimalString decStr(DCM_ContourData, EVR_DS); + DcmDecimalString decStr(DCM_ContourData); OFVector<Float64> doubleVals; /* insert a NULL byte into the string */ OFCHECK(decStr.putOFStringArray(OFString("1\\2.0\\3.5\\-4.99\0\\+500.005\\6.66E-01", 34)).good()); @@ -77,7 +77,7 @@ OFTEST(dcmdata_decimalString_3) OFTEST(dcmdata_decimalString_4) { - DcmDecimalString decStr(DCM_ContourData, EVR_DS); + DcmDecimalString decStr(DCM_ContourData); OFVector<Float64> doubleVals; OFCHECK(decStr.putString("1\\2.0\\3.5\\-4.99\\+500.005\\6.66E-01\\").good()); OFCHECK_EQUAL(decStr.getVM(), 7); @@ -96,7 +96,7 @@ OFTEST(dcmdata_decimalString_putFloat64) { // Test insertion in the beginning OFString testStr; - DcmDecimalString decStr(DCM_ContourData, EVR_DS); + DcmDecimalString decStr(DCM_ContourData); OFCHECK(decStr.putFloat64(0, 0).good()); decStr.getOFStringArray(testStr); OFCHECK(testStr == "0"); -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor