knowL: Knowledge Libraries
Loading...
Searching...
No Matches
TestBigNumber.h
1#include <QtTest/QtTest>
2
3#include "../BigNumber.h"
4
5class TestBigNumber : public QObject
6{
7 Q_OBJECT
9private slots:
10 void testCreation();
11 void testNaN();
12 void testVariant();
13 void testString();
14 void testList();
15 void testOperators();
16 void testOverflow();
17 void testInfinity();
18 void testTruncate();
19private:
20 void do_test(qint16 weight, BigNumber::Sign sign, qint16 dscale, const QList<quint16>& digits,
21 bool has_int64, qint64 _int64,
22 bool has_uint64, quint64 _uint64,
23 bool has_double, double _double,
24 const QString& _string);
25};
Definition Forward.h:12
Definition TestBigNumber.h:6
Class that can contains large numeric value.
Definition BigNumber.h:46