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

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