Ejemplo n.º 1
0
 public void WSProjectConstructorTest()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     string target_directory = string.Empty; // TODO: Initialize to an appropriate value
     WSProject target = new WSProject(file_path, target_directory);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Ejemplo n.º 2
0
 public void save_to_fileTest()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     WSProject target = new WSProject(file_path); // TODO: Initialize to an appropriate value
     string file_path1 = string.Empty; // TODO: Initialize to an appropriate value
     target.save(file_path1);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Ejemplo n.º 3
0
 public void runTest1()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     WSProject target = new WSProject(file_path); // TODO: Initialize to an appropriate value
     int module = 0; // TODO: Initialize to an appropriate value
     string option = string.Empty; // TODO: Initialize to an appropriate value
     target.run(module, option);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Ejemplo n.º 4
0
 public void Test_save_to_bws()
 {
     ParseManager parser = new ParseManager();
     FileGws gws = parser.ParseGws(gws3x3);
     AutomaticGrid.Geometrical result = new AutomaticGrid.Geometrical(gws, 2.0, 0.0, 8.0, 0.0, 5.0, 10, 12, 100, 10);
     WSProject project = new WSProject(project_file.FullName);
     Assert.IsTrue(result.SaveToBws(project, "test"));
 }
Ejemplo n.º 5
0
 public void test_RefinementGenerator_write_the_bws_file_in_the_proper_Directory_aritm()
 {
     WSProject project = new WSProject(project_file.FullName);
     string bws_filename = "test_bws_position234";
     ParseManager parser = new ParseManager();
     FileGws gws = parser.ParseGws(gws3x3);
     AutomaticGrid.Geometrical result = new AutomaticGrid.Geometrical(gws, 2.0, 0.0, 8.0, 0.0, 5.0, 10, 12, 100, 10);
     bool save = result.SaveToBws(project, bws_filename);
     string expected_file_path = project.file.Directory.FullName + "\\dtm\\" + "test_bws_position234" + ".bws"; ;
     FileInfo expected_file = new FileInfo(expected_file_path);
     Assert.IsTrue(expected_file.Exists);
     //
 }
Ejemplo n.º 6
0
 public void test_RefinementGenerator_load_proper_bws_file_name_project_parameters()
 {
     WSProject project = new WSProject(project_file.FullName);
     string bws_filename = "test_bws_position";
     string bws_file = bws_filename + ".bws";
     ParseManager parser = new ParseManager();
     FileGws gws = parser.ParseGws(gws3x3);
     AutomaticGrid.Geometrical result = new AutomaticGrid.Geometrical(gws, 2.0, 0.0, 8.0, 0.0, 5.0, 10, 12, 100, 10);
     bool save = result.SaveToBws(project, bws_filename);
     Assert.AreEqual(bws_file, project.parameters.CFD.RefinementFileName);
 }
Ejemplo n.º 7
0
 public void WSProjectConstructorTest()
 {
     WSProject target = new WSProject();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }