public void GetConverter_When_T_Is_DataTable_And_U_Is_IBasicAdjList()
        {
            //Arrange
            var provider = new NetworkToolProvider();

            //Act
            var converter = provider.GetConverter<DataTable, IBasicAdjList>();

            //Assert
            Assert.Null(converter);
        }
        public void GetConverter_When_T_Is_DataTable_And_U_Is_ISymmetricMatrix()
        {
            //Arrange
            var provider = new NetworkToolProvider();

            //Act
            var converter = provider.GetConverter<DataTable, ISymmetricMatrix<double>>();

            //Assert
            Assert.NotNull(converter);
            Assert.IsType<MatrixToDataTableConverter>(converter);
        }
        public void GetConverter_When_T_Is_IBasicAdjList_And_U_Is_IFullMatrix()
        {
            //Arrange
            var provider = new NetworkToolProvider();

            //Act
            var converter = provider.GetConverter<IBasicAdjList, IFullMatrix<double>>();

            //Assert
            Assert.NotNull(converter);
            Assert.IsType<MatrixToAdjListConverter>(converter);
        }
        public void GetConverter_With_Input_When_T_Is_ISymmetricMatrix_And_U_Is_IBasicAdjList()
        {
            //Arrange
            var provider = new NetworkToolProvider();
            var mockInput = new Mock<IBasicAdjList>();

            //Act
            var converter = provider.GetConverter<ISymmetricMatrix<double>>(mockInput.Object);

            Assert.NotNull(converter);
            Assert.IsType<AdjListToMatrixConverter>(converter);
        }
        public void GetConverter_With_Input_When_T_Is_IBasicFrame_And_U_Is_IFullMatrix()
        {
            //Arrange
            var provider = new NetworkToolProvider();
            var mockInput = new Mock<IFullMatrix<double>>();

            //Act
            var converter = provider.GetConverter<IBasicFrame>(mockInput.Object);

            //Assert
            Assert.NotNull(converter);
            Assert.IsType<MatrixToFrameConverter>(converter);
        }
        public void GetConverter_With_Input_When_T_Is_IBasicFrame_And_U_Is_IBasicAdjList()
        {
            //Arrange
            var provider = new NetworkToolProvider();
            var mockInput = new Mock<IBasicAdjList>();

            //Act
            var converter = provider.GetConverter<IBasicFrame>(mockInput.Object);

            //Assert
            Assert.Null(converter);
        }