summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp')
-rw-r--r--kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
index fa5b1a3..aae78ab 100644
--- a/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
+++ b/kmymoney2/mymoney/mymoneyfinancialcalculatortest.cpp
@@ -41,7 +41,7 @@ void MyMoneyFinancialCalculatorTest::testEmptyConstructor() {
CPPUNIT_ASSERT(m->m_prec == 2);
CPPUNIT_ASSERT(m->m_bep == false);
CPPUNIT_ASSERT(m->m_disc == true);
- CPPUNIT_ASSERT(m->m_mask == 0);
+ CPPUNIT_ASSERT(m->m_tqmask == 0);
}
void MyMoneyFinancialCalculatorTest::testSetPrec() {
@@ -52,7 +52,7 @@ void MyMoneyFinancialCalculatorTest::testSetPrec() {
void MyMoneyFinancialCalculatorTest::testSetNpp() {
m->setNpp(20);
CPPUNIT_ASSERT(m->m_npp == 20);
- CPPUNIT_ASSERT(m->m_mask == NPP_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == NPP_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPF() {
@@ -86,25 +86,25 @@ void MyMoneyFinancialCalculatorTest::testSetDisc() {
void MyMoneyFinancialCalculatorTest::testSetIr() {
m->setIr(12.3);
CPPUNIT_ASSERT(m->m_ir == 12.3);
- CPPUNIT_ASSERT(m->m_mask == IR_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == IR_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPv() {
m->setPv(23.4);
CPPUNIT_ASSERT(m->m_pv == 23.4);
- CPPUNIT_ASSERT(m->m_mask == PV_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == PV_SET);
}
void MyMoneyFinancialCalculatorTest::testSetPmt() {
m->setPmt(34.5);
CPPUNIT_ASSERT(m->m_pmt == 34.5);
- CPPUNIT_ASSERT(m->m_mask == PMT_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == PMT_SET);
}
void MyMoneyFinancialCalculatorTest::testSetFv() {
m->setFv(45.6);
CPPUNIT_ASSERT(m->m_fv == 45.6);
- CPPUNIT_ASSERT(m->m_mask == FV_SET);
+ CPPUNIT_ASSERT(m->m_tqmask == FV_SET);
}
void MyMoneyFinancialCalculatorTest::testCombinedSet() {
@@ -114,7 +114,7 @@ void MyMoneyFinancialCalculatorTest::testCombinedSet() {
m->setPmt(34.5);
m->setFv(45.6);
- CPPUNIT_ASSERT(m->m_mask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
+ CPPUNIT_ASSERT(m->m_tqmask == (NPP_SET | PV_SET | IR_SET | PMT_SET | FV_SET));
}
void MyMoneyFinancialCalculatorTest::testNumPayments() {