JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
TestGeometryLoading.java
Go to the documentation of this file.
1 
4 package rb.test;
5 
6 import static org.junit.Assert.fail;
10 
11 import org.junit.Test;
12 
18 public class TestGeometryLoading {
19 
23  @Test
24  public void testGeometryLoading() {
25  FileModelManager f = new FileModelManager("models");
26  try {
27  f.useModel("adv_diff_rb_tc");
28  } catch (ModelManagerException e) {
29  e.printStackTrace();
30  fail(e.getMessage());
31  }
32 
33  GeometryData g = new GeometryData();
34  g.loadModelGeometry(f);
35  }
36 
37 }
Manages models loaded from the file system available via the java.io classes.
This Exception gets thrown when an error occurs regarding the functionality of the ModelManager...
This is a container class for all geometry-related data of a reduced model.