[{
  "explanation": "01: term = 2, should use default 10",
  "input": [{
    "initialDeposit": 0,
    "monthlyIncome": 2000,
    "interest": 2,
    "term": 2,
    "monthlyExpenses": 800
  }],
  "output": {
    "maxMonthlyPayment": 432,
    "totalPriceHouse": 46949.6559426,
    "mortgageTotal": 46949.6559426,
    "totalInterest": 361.2379167
  }
}, {
  "explanation": "02: math, with deposit 15500",
  "input": [{
    "initialDeposit": 15500,
    "monthlyIncome": 2000,
    "interest": 3,
    "term": 20,
    "monthlyExpenses": 800
  }],
  "output": {
    "maxMonthlyPayment": 432,
    "totalPriceHouse": 93394.3150262,
    "mortgageTotal": 77894.3150262,
    "totalInterest": 1509.0217746
  }
}, {
  "explanation": "03: math",
  "input": [{
    "initialDeposit": 20100,
    "monthlyIncome": 2000,
    "interest": 3,
    "term": 20,
    "monthlyExpenses": 800
  }],
  "output": {
    "maxMonthlyPayment": 432,
    "totalPriceHouse": 97994.3150262,
    "mortgageTotal": 77894.3150262,
    "totalInterest": 1509.0217746
  }
}, {
  "explanation": "04: math",
  "input": [{
    "monthlyIncome": 2000,
    "interest": 3,
    "term": 20,
    "monthlyExpenses": 8000
  }],
  "output": {
    "maxMonthlyPayment": 0,
    "totalPriceHouse": 0,
    "mortgageTotal": 0,
    "totalInterest": 0
  }
}, {
  "explanation": "05: math",
  "input": [{
    "monthlyIncome": 2000,
    "interest": 3,
    "term": 20
  }],
  "output": {
    "maxMonthlyPayment": 720,
    "totalPriceHouse": 129823.8583770,
    "mortgageTotal": 129823.8583770,
    "totalInterest": 2515.0362910
  }
}, {
  "explanation": "06: max age 50 and age 35, request term 20,new term 15",
  "input": [{
    "monthlyIncome": 2000,
    "interest": 3,
    "term": 20,
    "age": 35,
    "settings": {
      "maxAge": 50
    }
  }],
  "output": {
    "maxMonthlyPayment": 720,
    "totalPriceHouse": 104259.9394490,
    "mortgageTotal": 104259.9394490,
    "totalInterest": 1616.0398358
  }
}]
