I first created a parent class, Personal Capital, that can be inherited by an Asset and Liabilities classes. I created two classes to return negative values when items are liabilities versus positive values for assets. In the future, anything that is a liability or an asset can inherit these classes. Now, the Bank Account class extends Assets and future iterations can add more specific objects that inherit this iteration's work, such as stocks or mortgage. These classes also have one combined test suite that ensures function of methods, which passes all tests.
I first created a parent class, Personal Capital, that can be inherited by an Asset and Liabilities classes. I created two classes to return negative values when items are liabilities versus positive values for assets. In the future, anything that is a liability or an asset can inherit these classes. Now, the Bank Account class extends Assets and future iterations can add more specific objects that inherit this iteration's work, such as stocks or mortgage. These classes also have one combined test suite that ensures function of methods, which passes all tests.