Unit tests added

This commit is contained in:
2022-09-27 21:46:30 +01:00
parent 8cc19f0dc9
commit 372f5611fe
10 changed files with 299 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
{
"query": {
"count": 1
},
"results": {
"AUD_GBP": {
"id": "AUD_GBP",
"fr": "AUD",
"to": "GBP",
"val": 0.601188
}
}
}

View File

@@ -0,0 +1,8 @@
{
"amount": 1.0,
"base": "AUD",
"date": "2022-09-23",
"rates": {
"GBP": 0.59483
}
}

View File

@@ -0,0 +1,2 @@
// freecurrencyapi api key
apiKey=12121