public void SetParam_ForNodeMapIndex(int delimiter)
 {
     VNABasicAdjListWriter writer = new VNABasicAdjListWriter();
     writer.SetParam(VNABasicAdjListWriter._ParamName_NodeIdentifierAttributeIndex, delimiter);
     Assert.Equal(delimiter, writer.NodeIdentifierAttributeIndex);
 }
 public void SetParam_ForFileName(string fileName)
 {
     VNABasicAdjListWriter writer = new VNABasicAdjListWriter();
     writer.SetParam(VNABasicAdjListWriter._ParamName_FileName, fileName);
     Assert.Equal(fileName, writer.FileName);
 }
        public void SetParam_ForInputNetwork()
        {
            var mockNet = new Mock<IBasicAdjList>();

            var writer = new VNABasicAdjListWriter();
            writer.SetParam(VNABasicAdjListWriter._ParamName_InputNetwork, mockNet.Object);
            Assert.Same(mockNet.Object, writer.InputNetwork);
        }
 public void SetParam_ForExportNodeAttributes(bool exportHeaders)
 {
     VNABasicAdjListWriter writer = new VNABasicAdjListWriter();
     writer.SetParam(VNABasicAdjListWriter._ParamName_ExportNodeAttributes, exportHeaders);
     Assert.Equal(exportHeaders, writer.ExportNodeAttributes);
 }