The document outlines a test plan for a Caesar cipher program. It details 10 test cases to validate the program's encoding and decoding functionality for different types of inputs, including short and long messages, edge cases with minimal and maximum shifts, mixed alphabets and symbols, uppercase and lowercase letters, numbers, and empty strings. It also includes a test log table to record the test name, inputs, expected outputs, and results of each test case.
The document outlines a test plan for a Caesar cipher program. It details 10 test cases to validate the program's encoding and decoding functionality for different types of inputs, including short and long messages, edge cases with minimal and maximum shifts, mixed alphabets and symbols, uppercase and lowercase letters, numbers, and empty strings. It also includes a test log table to record the test name, inputs, expected outputs, and results of each test case.
The document outlines a test plan for a Caesar cipher program. It details 10 test cases to validate the program's encoding and decoding functionality for different types of inputs, including short and long messages, edge cases with minimal and maximum shifts, mixed alphabets and symbols, uppercase and lowercase letters, numbers, and empty strings. It also includes a test log table to record the test name, inputs, expected outputs, and results of each test case.
o Objective: Verify that the Caesar cipher correctly encodes a short message. 2. Test Case: Decode Short Message o Objective: Verify that the Caesar cipher correctly decodes a short message. 3. Test Case: Encode Long Message o Objective: Verify that the Caesar cipher correctly encodes a long message. 4. Test Case: Decode Long Message o Objective: Verify that the Caesar cipher correctly decodes a long message. 5. Test Case: Edge Case - Shift 1 o Objective: Verify that the Caesar cipher correctly handles edge cases where the shift is 1. 6. Test Case: Edge Case - Shift 25 o Objective: Verify that the Caesar cipher correctly handles edge cases where the shift is 25. 7. Test Case: Mix of Alphabets and Symbols o Objective: Verify that the Caesar cipher correctly handles inputs that are a mix of alphabets and symbols. 8. Test Case: Mix of Uppercase and Lowercase Letters o Objective: Verify that the Caesar cipher correctly handles inputs that are a mix of uppercase and lowercase letters. 9. Test Case: Numeric Input o Objective: Verify that the Caesar cipher correctly handles numeric inputs. 10. Test Case: Empty Input o Objective: Verify that the Caesar cipher correctly handles empty inputs.
TEST LOG FOR THE CYPHER PROGRAM
Test Test Name Input Output Comments Screenshot
number 1 Encode Short Input: "HELLO", Expected Output: basic encoding Message Shift: 3 "KHOOR" functionality with a short message- pass VLAD IOAN COVALIU COMPUTER PROGRAMMING NQ LEVEL 6
2 Decode Short Input: "KHOOR", Expected Output: Basi
Message Shift: 3 "HELLO" c decoding functionality with a short message- pass 3 Encode Long Input: "ENCODE Expected Output: basic encoding Message AND DECODE "JSITIJ JSIYJ functionality with a USING CAESAR IJHJMJX long message- pass CIPHER", Shift: 5 ZYNJSIJSIJSIYJ "
4 Decode Long Input: "JSITIJ Expected Output: basic decoding
Message JSIYJ IJHJMJX "ENCODE AND functionality with a ZYNJSIJSIJSIYJ", DECODE USING long message- pass Shift: 5 CAESAR CIPHER"
5 Edge Case - Input: "XYZ", Expected Output: program’s ability
Shift 1 Shift: 1 "YZA" to handle edge cases where the shift is minimal (1)-pass
6 Edge Case - Input: "HELLO", Expected Output: program’s ability
Shift 25 Shift: 25 "GDKKN" to handle edge cases where the shift is maximum (25)-pass
7 Mix of Input: "AB@CD! Expected Output: program’s ability
Alphabets FG", Shift: 4 "EF@GH!JK" to handle inputs and Symbols that are a mix of alphabets and symbols-pass
8 Mix of Input: Expected Output: program’s ability
Uppercase "AbCdEfG", Shift: "DeFgHiJ" to handle inputs and 3 that are a mix of Lowercase uppercase and Letters lowercase letters- pass VLAD IOAN COVALIU COMPUTER PROGRAMMING NQ LEVEL 6