Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Start part 1 test for inputs s: abdcbaccc9cdbddaddbcdbdcc9aaabaa9dccaa9dbdbdaddbdd and cs: [cfdccf]
- Part 1 analyzeChar method test passed...
- Part 1 getFrequencyOfChar method test passed...
- Part 1 resetStatistic method test passed...
- Char frequencies
- c: 10
- f: 0
- d: 16
- c: 10
- c: 10
- f: 0
- Part 1 printStatisticChar method test passed...
- Start part 1 test for inputs s: uK823FeaHXZJ2A9nEu5GZkwZ5ojCwppSnvJuW0PDGfmbqfHNom and cs: [jljrnzndqmy]
- Part 1 analyzeChar method test passed...
- Part 1 getFrequencyOfChar method test passed...
- Part 1 resetStatistic method test passed...
- Char frequencies
- j: 3
- l: 0
- j: 3
- r: 0
- n: 3
- z: 3
- n: 3
- d: 1
- q: 1
- m: 2
- y: 0
- Part 1 printStatisticChar method test passed...
- Tests for part 1 passed...
- Start part 2 test for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
- Part 2 analyzeChar method test passed...
- Part 2 getFrequencyOfChar method test passed...
- Part 2 resetStatistic method test passed...
- Char double frequencies
- 204: 0
- 194: 0
- 204: 0
- 198: 3
- 200: 1
- 198: 3
- 200: 1
- 204: 0
- 194: 0
- 194: 0
- 198: 3
- Exception in thread "test" java.lang.Exception:
- Error in part 2:
- Error found in your printStatisticCharDoubles method.
- Wrong results detected for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
- Expected output:
- ff: 0
- aa: 0
- ff: 0
- cc: 3
- dd: 1
- cc: 3
- dd: 1
- ff: 0
- aa: 0
- aa: 0
- cc: 3
- Your output:
- Part 1 printStatisticChar method test passed...
- Tests for part 1 passed...
- Start part 2 test for inputs s: bdca9bdbabdcbccbbdb9d99acbbbcdbabccd9bcc9bbbddbdbb and cs: [fafcdcdfaac]
- Part 2 analyzeChar method test passed...
- Part 2 getFrequencyOfChar method test passed...
- Part 2 resetStatistic method test passed...
- Char double frequencies
- 204: 0
- 194: 0
- 204: 0
- 198: 3
- 200: 1
- 198: 3
- 200: 1
- 204: 0
- 194: 0
- 194: 0
- 198: 3
- at test.printErrorMessage(test.java:300)
- at test.testPrintStatisticCharDoublesMethod(test.java:286)
- at test.run(Unknown Source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement