Пример #1
0
        public void Should_GetDimensions_ForStandardInput()
        {
            //arrange
            int dimensions = 2;
            IJsonSerializationProvider jsonSerializationProvider = A.Fake <IJsonSerializationProvider>();
            IMatrixProvider            matrixProvider            = new MatrixProvider(jsonSerializationProvider, dimensions);

            //act
            double actualOutput = matrixProvider.GetDimensions();

            //assert
            actualOutput.Should().Be(dimensions);
        }