Пример #1
0
        public void AddGigaBytes_Value()
        {
            var expected = (1024 * 1024 * 1024) + 1000;
            var left     = new ByteSize(1000);
            var right    = 1;

            //Act
            var updated = left.AddGigabytes(right);
            var actual  = updated.Bytes;

            //Assert
            actual.Should().Be(expected);
        }