Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Testing Empty array...
- Test passed.
- Score for this part: 10/10
- Testing All values equal...
- Expected results and actual results do not match.
- Input data:
- 0 6.000000
- 1 6.000000
- 2 6.000000
- 3 6.000000
- 4 6.000000
- 5 6.000000
- 6 6.000000
- 7 6.000000
- 8 6.000000
- 9 6.000000
- 10 6.000000
- 11 6.000000
- 12 6.000000
- 13 6.000000
- 14 6.000000
- i exp act
- 0 0 1
- 1 0 0
- 2 0 0
- 3 0 0
- 4 0 0
- 5 0 0
- 6 15 15
- 7 0 0
- 8 0 0
- 9 0 0
- 10 0 0
- 11 0 0
- 12 0 0
- 13 0 0
- 14 0 0
- Test failed.
- Score for this part: 0/10
- Testing One of each value...
- Expected results and actual results do not match.
- Input data:
- 0 0.000000
- 1 1.000000
- 2 2.000000
- 3 3.000000
- 4 4.000000
- 5 5.000000
- 6 6.000000
- 7 7.000000
- 8 8.000000
- 9 9.000000
- 10 10.000000
- 11 11.000000
- 12 12.000000
- 13 13.000000
- 14 14.000000
- i exp act
- 0 1 2
- 1 1 1
- 2 1 1
- 3 1 1
- 4 1 1
- 5 1 1
- 6 1 1
- 7 1 1
- 8 1 1
- 9 1 1
- 10 1 1
- 11 1 1
- 12 1 1
- 13 1 1
- 14 1 1
- Test failed.
- Score for this part: 0/10
- Testing Random values...
- Expected results and actual results do not match.
- Input data:
- 0 6.601900
- 1 7.034893
- 2 3.802425
- 3 4.252254
- 4 8.979183
- 5 4.223870
- 6 3.299451
- 7 5.943720
- 8 7.873238
- 9 10.905226
- 10 8.160595
- 11 4.245102
- 12 0.640052
- 13 12.748164
- 14 0.992352
- 15 10.121617
- 16 8.674190
- 17 11.256276
- 18 0.447056
- 19 7.810989
- 20 14.104583
- 21 0.564415
- 22 12.433324
- 23 11.057534
- 24 7.747457
- 25 6.450881
- 26 3.462591
- 27 8.797422
- 28 14.751832
- 29 8.982868
- 30 8.070704
- 31 0.868558
- 32 14.472716
- 33 2.484361
- 34 8.405047
- 35 2.558941
- 36 13.621754
- 37 0.589950
- 38 3.416743
- 39 0.573218
- 40 2.747057
- 41 0.629859
- i exp act
- 0 8 9
- 1 0 0
- 2 3 3
- 3 4 4
- 4 3 3
- 5 1 1
- 6 2 2
- 7 4 4
- 8 7 7
- 9 0 0
- 10 2 2
- 11 2 2
- 12 2 2
- 13 1 1
- 14 3 3
- Test failed.
- Score for this part: 0/70
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement