-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInClass1Test.java
More file actions
35 lines (27 loc) · 1.87 KB
/
InClass1Test.java
File metadata and controls
35 lines (27 loc) · 1.87 KB
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
/**
* Test file for InClass1 - Variables and Print Statements Practice
* This file contains basic tests to verify the student's InClass1 implementation
*/
public class InClass1Test {
public static void main(String[] args) {
System.out.println("Running InClass1 Tests...");
System.out.println("Test 1: Looking for InClass1 class...");
System.out.println("Note: This test will need to be updated with the student's actual class name");
System.out.println("Expected format: InClass1_FirstName_LastName");
System.out.println("\nTest 2: Checking for main method...");
System.out.println("This test verifies that a main method exists");
System.out.println("\nTest 3: String variable declaration...");
System.out.println("Manual verification required - check that student declared a String variable");
System.out.println("Variable should have a different name than used in Lab1");
System.out.println("\nTest 4: String variable assignment...");
System.out.println("Manual verification required - check that student assigned a learning goal statement");
System.out.println("\nTest 5: println() statement...");
System.out.println("Manual verification required - check that student uses println() to display the variable");
System.out.println("\n=== INCLASS1 TESTING COMPLETE ===");
System.out.println("For complete verification, manually review the student's InClass1 file to ensure:");
System.out.println("1. String variable is declared with different name than Lab1");
System.out.println("2. String variable is assigned a statement about learning goals");
System.out.println("3. println() statement displays the variable");
System.out.println("4. Program compiles and runs without errors");
}
}