-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (36 loc) · 1.77 KB
/
README
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
Files in this distribution:
Makefile
A configuration file for the 'gmake' program. This allows
you to perform common tasks: compiling your program, running
tests and performing style checks on it, cleaning up
unneeded files. See the comment at the top of the file for
details.
test-correct
A bash test script for testing correct inputs to the enigma program.
test-error
A bash test script for testing erroneous inputs to the enigma program.
enigma Directory containing the enigma package:
enigma/Main.java
Contains the main procedure: enigma.Main.main.
enigma/Machine.java
A suggested skeleton file for objects modeling Enigma
machines.
enigma/Rotor.java
A suggested skeleton file for objects modeling rotors.
enigma/Reflector.java
A suggested skeleton file for objects modeling reflectors.
enigma/rotors.txt
Not part of the program. Contains textual descriptions
of the rotors. You may find them useful for
implementing the rotors.
tests Directory for test files.
Contains files *.inp, *.out, and *.err, intended as test input
files, expected output files, and erroneous input files
for the enigma program.
The Makefile is set up so that 'gmake check' runs each
.inp file through your program and compares the
results to the corresponding .out file. It also runs each
.err file through your program and checks that the program
reports an error according to the project specification.
tests/trivial.in, tests/trivial.out
Sample test file input and output.