-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtest.cpp
More file actions
40 lines (32 loc) · 734 Bytes
/
test.cpp
File metadata and controls
40 lines (32 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/**
* File Name: test.cpp
* Author: Dipen Chauhan (https://github.com/overdrivemachines)
*/
#include "bank_keys.h"
#include "bank_total.h"
using namespace std;
int main()
{
BankKeys bk;
bk.set_public_key("7cc454a9");
bk.set_private_key("1a23b4c5");
bk.set_email("hello@helloworld.com");
BankKeys bk2("1234", "4567", "test@test.com");
cout << bk.get_public_key() << "\n";
cout << bk.get_private_key() << "\n";
cout << bk.get_email() << "\n";
bk2.to_s();
// ------
BankTotal bt;
bt.set_ones(50);
bt.set_fives(0);
bt.set_twenty_fives(10);
bt.set_hundreds(9008000001);
bt.set_two_hundred_fifties(6);
cout << "\n";
bt.to_s();
cout << "\n";
BankTotal bt2(5, 3, 0, 5, 234924342342);
bt2.to_s();
return 0;
}