Beispiel #1
0
 public void Then_daily_amount_should_equal_zero()
 {
     SUT.Snapshot.Daily.ShouldEqual(DailyAmount.FromDecimal(0m));
 }
Beispiel #2
0
 public void Then_daily_amount_should_be_set()
 {
     SUT.Snapshot.Daily.ShouldBeGreaterThan(DailyAmount.FromDecimal(0m));
 }
Beispiel #3
0
 public void Then_snapshot_should_be_changed()
 {
     SUT.Snapshot.Daily.ShouldEqual(DailyAmount.FromDecimal(3.33m));
 }
Beispiel #4
0
            public void Then_snapshot_should_be_updated()
            {
                var expected = (100 - 50) / 10;

                SUT.Snapshot.Daily.ShouldEqual(DailyAmount.FromDecimal(expected));
            }
Beispiel #5
0
 public void Then_snapshot_should_be_updated()
 {
     SUT.Snapshot.Daily.ShouldBeLessThan(DailyAmount.FromDecimal(10m));
 }
Beispiel #6
0
 public void Then_snapshot_should_be_updated()
 {
     SUT.Snapshot.Daily.ShouldEqual(DailyAmount.FromDecimal(0m));
 }
Beispiel #7
0
 public void Then_daily_amount_should_be_doubled()
 {
     SUT.Snapshot.Daily.ShouldEqual(DailyAmount.FromDecimal(20m));
 }