Exemplo n.º 1
0
 public void createPedigreesTest()
 {
     PedigreeCreator target = new PedigreeCreator(); // TODO: Initialize to an appropriate value
     string inputFile = string.Empty; // TODO: Initialize to an appropriate value
     string OutputFolder = string.Empty; // TODO: Initialize to an appropriate value
     target.createPedigrees(inputFile, OutputFolder);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Exemplo n.º 2
0
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            PedigreeCreator pc = new PedigreeCreator();
            pc.createPedigrees(inputFile, OutputFolder);

            upload d = new upload(pc, inputFile, OutputFolder);
            d.ProgressChanged += new ProgressChangedEventHandler(progressB);
            d.processPedigreesOnBoadicea(OutputFolder);
        }
Exemplo n.º 3
0
 public void createListFromFileTest()
 {
     PedigreeCreator target = new PedigreeCreator();
     string inputFile = "C:\\Users\\kmoizik\\Desktop\\normal-2.txt";
     int expected = 57194;
     List<string[]> actual;
     actual = target.createListFromFile(inputFile);
     Assert.AreEqual(expected, actual.Count);
 }
Exemplo n.º 4
0
 public void parseFamilyTest()
 {
     PedigreeCreator target = new PedigreeCreator(); // TODO: Initialize to an appropriate value
     string[] family = null; // TODO: Initialize to an appropriate value
     Data expected = null; // TODO: Initialize to an appropriate value
     Data actual;
     actual = target.parseFamily(family);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Exemplo n.º 5
0
 public upload(PedigreeCreator pc, string inputFile, string OutputFolder)
 {
     this.pc = pc;
     this.inputFile = inputFile;
     this.OutputFolder = OutputFolder;
 }
Exemplo n.º 6
0
 public void writePedigreeTest()
 {
     PedigreeCreator target = new PedigreeCreator(); // TODO: Initialize to an appropriate value
     Data data = null; // TODO: Initialize to an appropriate value
     target.writePedigree(data);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }