Parcourir la source

changedReadMe

nafis nibir il y a 6 ans
Parent
révision
f97750a081
2 fichiers modifiés avec 53 ajouts et 1 suppressions
  1. 3
    1
      README.TXT
  2. 50
    0
      StaffTest.java

+ 3
- 1
README.TXT Voir le fichier

@@ -1,4 +1,4 @@
1
-BlueJ example project "people2"
1
+BlueJ example project "people2" Did you know there was a third atomic bomb that was supposed to be dropped on Japan? They didn't since Japan surrendered. People in the US started experimenting with it and a few researches lost their lives. Due to this and other bad stuff associated with it, its known as the "Demon Core". Pretty cool name.
2 2
 
3 3
 Copyright (c) Michael Kölling, Monash University, 1999-2000
4 4
 
@@ -11,3 +11,5 @@ in Person.
11 11
 
12 12
 This project may be used to study object creation and method calls from
13 13
 within other object (non-interactive).
14
+
15
+NAFIS NIBIR

+ 50
- 0
StaffTest.java Voir le fichier

@@ -0,0 +1,50 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class StaffTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class StaffTest
15
+{
16
+    /**
17
+     * Default constructor for test class StaffTest
18
+     */
19
+    public StaffTest()
20
+    {
21
+    }
22
+
23
+    /**
24
+     * Sets up the test fixture.
25
+     *
26
+     * Called before every test case method.
27
+     */
28
+    @Before
29
+    public void setUp()
30
+    {
31
+    }
32
+
33
+    /**
34
+     * Tears down the test fixture.
35
+     *
36
+     * Called after every test case method.
37
+     */
38
+    @After
39
+    public void tearDown()
40
+    {
41
+    }
42
+
43
+    @Test
44
+    public void test1()
45
+    {
46
+        Staff staff1 = new Staff();
47
+        assertEquals("room 123", staff1.getRoom());
48
+    }
49
+}
50
+