-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDarkFieldPointCloudViewerTest.java
49 lines (35 loc) · 1.04 KB
/
DarkFieldPointCloudViewerTest.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package edu.stanford.rsl.science.darkfield.FlorianDarkField;
import java.util.ArrayList;
import java.util.Scanner;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.Test;
import edu.stanford.rsl.conrad.geometry.shapes.simple.PointND;
public class DarkFieldPointCloudViewerTest {
@AfterClass
public static void tearDownAfterClass() throws Exception {
Scanner sc = new Scanner(System.in);
System.out.print("Gib was ein: ");
String eingabe = sc.next();
System.out.println("Du hast " + eingabe + " eingegeben.");
sc.close();
}
@Before
public void setUp() throws Exception {
}
@After
public void tearDown() throws Exception {
}
@Test
public void test() {
PointND p1 = new PointND(1,2,3);
PointND p2 = new PointND(-1,2,-2);
PointND p3 = new PointND(1,-2,3);
ArrayList<PointND> points = new ArrayList<PointND>();
points.add(p1);
points.add(p2);
points.add(p3);
DarkFieldPointCloudViewer myMaker = new DarkFieldPointCloudViewer(points);
}
}