diff --git a/.gitignore b/.gitignore index c9f430f..da292b3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,7 @@ *.pjd *.swp *.ofx +!tests/Samples/*.ofx *.qif +!tests/Samples/*.qif .idea diff --git a/tests/Samples/splitwise Splitwise USD.qif b/tests/Samples/splitwise Splitwise USD.qif new file mode 100644 index 0000000..45eb3a0 --- /dev/null +++ b/tests/Samples/splitwise Splitwise USD.qif @@ -0,0 +1,47 @@ +!Account +NSplitwise USD +D +^ +!Type:Bank +D2016-05-21 +T-34.16 +Powner paid: john.doe owes full amount +MLiquor +LSplitwise USD/ +Sjohn.doe USD/ +ELiquor +$34.16 +^ +D2016-06-25 +T-69.78 +Powner paid and also spent: schmidt and kowalski owe +MDining out +LSplitwise USD/ +SImbalance-USD/ +EDining out +$46.52 +Sthomas.schmidt USD/ +EDining out +$11.63 +Sstefan.kowalski USD/ +EDining out +$11.63 +^ +D2016-07-29 +T-138.41 +Powner paid and also spent: schmidt kowalski and alvaro owe +MDining out +LSplitwise USD/ +SImbalance-USD/ +EDining out +$39.17 +Sthomas.schmidt USD/ +EDining out +$53.54 +Sstefan.kowalski USD/ +EDining out +$18.28 +Sjose.alvaro USD/ +EDining out +$27.42 +^ diff --git a/tests/Samples/splitwise john.doe USD.qif b/tests/Samples/splitwise john.doe USD.qif new file mode 100644 index 0000000..71e599b --- /dev/null +++ b/tests/Samples/splitwise john.doe USD.qif @@ -0,0 +1,23 @@ +!Account +Njohn.doe USD +D +^ +!Type:Bank +D2016-06-22 +T-34.16 +Pdoe sent payment to owner +MPayment +Ljohn.doe USD/ +SSplitwise USD/ +EPayment +$-34.16 +^ +D2016-06-26 +T-6.65 +Pdoe paid: owner owes him part +MGeneral +Ljohn.doe USD/ +SImbalance-USD/ +EGeneral +$-6.65 +^ diff --git a/tests/Samples/splitwise owner USD.qif b/tests/Samples/splitwise owner USD.qif new file mode 100644 index 0000000..3370e73 --- /dev/null +++ b/tests/Samples/splitwise owner USD.qif @@ -0,0 +1,14 @@ +!Account +Nowner USD +D +^ +!Type:Bank +D2016-05-10 +T-10.0 +Powner sent payment to john.doe +MPayment +Lowner USD/ +Sjohn.doe USD/ +EPayment +$-10.0 +^