mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
[iphreeqc] changed encoding from utf-8 to windows-1252
This commit is contained in:
parent
85425380ac
commit
59e9e4ea8e
1
.gitignore
vendored
1
.gitignore
vendored
@ -190,6 +190,7 @@
|
||||
# /unit/
|
||||
/unit/*.err
|
||||
/unit/*.log
|
||||
/unit/*.o
|
||||
/unit/*.out
|
||||
/unit/.deps
|
||||
/unit/Debug
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// -*- coding: windows-1252 -*-
|
||||
#include "TestIPhreeqc.h"
|
||||
|
||||
#include <cmath>
|
||||
@ -2160,7 +2161,7 @@ void TestIPhreeqc::TestSetOutputFileName(void)
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Mass of water (kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Total alkalinity (eq/kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Total CO2 (mol/kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Temperature (°C) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Temperature (°C) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Electrical balance (eq) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Percent error, 100*(Cat-|An|)/(Cat+|An|) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Iterations = ") != NULL );
|
||||
@ -2170,7 +2171,7 @@ void TestIPhreeqc::TestSetOutputFileName(void)
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "----------------------------Distribution of species----------------------------") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Log Log Log mole V") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Species Molality Activity Molality Activity Gamma cm³/mol") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Species Molality Activity Molality Activity Gamma cm³/mol")!= NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " OH- ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " H+ ") != NULL );
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
// -*- coding: windows-1252 -*-
|
||||
#include "TestIPhreeqcLib.h"
|
||||
#include "IPhreeqc.h"
|
||||
#include "CVar.hxx"
|
||||
@ -2464,7 +2465,7 @@ void TestIPhreeqcLib::TestSetOutputFileName(void)
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Mass of water (kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Total alkalinity (eq/kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Total CO2 (mol/kg) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Temperature (°C) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Temperature (°C) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Electrical balance (eq) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Percent error, 100*(Cat-|An|)/(Cat+|An|) = ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Iterations = ") != NULL );
|
||||
@ -2474,7 +2475,7 @@ void TestIPhreeqcLib::TestSetOutputFileName(void)
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "----------------------------Distribution of species----------------------------") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Log Log Log mole V") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Species Molality Activity Molality Activity Gamma cm³/mol") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " Species Molality Activity Molality Activity Gamma cm³/mol")!= NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), "") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " OH- ") != NULL );
|
||||
CPPUNIT_ASSERT( ::strstr(lines[line++].c_str(), " H+ ") != NULL );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user