Skip to content

Instantly share code, notes, and snippets.

@andyczerwonka
Last active October 17, 2016 16:02
Show Gist options
  • Save andyczerwonka/d15c9019d8483acfae5cedb2303741dd to your computer and use it in GitHub Desktop.
Save andyczerwonka/d15c9019d8483acfae5cedb2303741dd to your computer and use it in GitHub Desktop.
[Fact]
public void DepreciationCalculation_NoDepreciationEntries()
{
_test
.MonthlyWindow("2016-01-01", 12)
.DecliningBalance(depreciationRate: 0.0)
.CapexEntry("2016-01-01", 100)
.Expect(
"2016-01-01 0",
"2016-01-02 0",
"2016-01-03 0",
"2016-01-04 0",
"2016-01-05 0",
"2016-01-06 0",
"2016-01-07 0",
"2016-01-08 0",
"2016-01-09 0",
"2016-01-10 0",
"2016-01-11 0",
"2016-01-12 0"
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment