-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInClass3Test.java
More file actions
34 lines (26 loc) · 1.75 KB
/
InClass3Test.java
File metadata and controls
34 lines (26 loc) · 1.75 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
/**
* Test file for InClass3 - Cube Calculation Practice
* This file contains basic checks to verify the student's InClass3 implementation
*/
public class InClass3Test {
public static void main(String[] args) {
System.out.println("Running InClass3 Checks...");
System.out.println("Test 1: Looking for InClass3 class...");
System.out.println("Expected format: InClass3_FirstName_LastName");
System.out.println("\nTest 2: Checking for main method...");
System.out.println("Verifies that a main method exists and is properly structured");
System.out.println("\nTest 3: User input...");
System.out.println("Manual check: Confirm that the program prompts for the length of the side of a cube and stores the input");
System.out.println("\nTest 4: Calculation step...");
System.out.println("Manual check: Confirm that the program calculates the volume and surface area using a power method (e.g., Math.pow)");
System.out.println("\nTest 5: Output statement...");
System.out.println("Manual check: Confirm that the volume and surface area are displayed in clear sentences");
System.out.println("\n=== INCLASS3 CHECKS COMPLETE ===");
System.out.println("For complete verification, manually review the student's InClass3 file to ensure:");
System.out.println("1. Class and main method are present and named correctly");
System.out.println("2. User input is requested and stored for the cube's side length");
System.out.println("3. Volume and surface area are calculated using Math.pow or similar");
System.out.println("4. The results are printed in clear sentences");
System.out.println("5. Program compiles and runs without errors");
}
}