Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test: get adopters for advertisement 1
- Your output:
- Testing getting adopters for advertisement 1
- One = 6.0
- Two = 12.0
- Three = 3.6
- Four = 11.4
- Five = 9.71442651722
- Six = 0.0
- Two
- Four
- Five
- One
- Three
- Six
- One = 12.0
- Two = 12.0
- Three = 4.2
- Four = 12.0
- Five = 7.04971248261
- Six = 2.0
- Four
- One
- Two
- Five
- Three
- Six
- One = 15.5
- Two = 31.0
- Three = 9.3
- Four = 28.3
- Five = 6.16221990746
- Six = 0.0
- Two
- Four
- One
- Three
- Five
- Six
- Correct output:
- Testing getting adopters for advertisement 1
- Two
- Four
- Five
- One
- Three
- Six
- Four
- One
- Two
- Five
- Three
- Six
- Two
- Four
- One
- Three
- Five
- Six
- Test: get adopters for advertisement 2
- Your output:
- Testing getting adopters for advertisement 2
- One = 20.6825018063
- Two = 22.0
- Three = 11.6
- Four = 22.0
- Five = 13.4341586711
- Six = 0.0
- Four
- Two
- One
- Five
- Three
- Six
- Two = 28.0
- Two = 28.0
- Three = 10.8
- Four = 28.0
- Five = 5.72058887083
- Six = 8.0
- Four
- Two
- Two
- Five
- Three
- Six
- Three = 13.9
- Two = 23.0
- Three = 13.9
- Four = 21.5
- Five = 5.39907092447
- Six = 0.0
- Two
- Four
- Three
- Three
- Five
- Six
- Correct output:
- Testing getting adopters for advertisement 2
- Four
- Two
- One
- Five
- Three
- Six
- Four
- Two
- Two
- Five
- Three
- Six
- Two
- Four
- Three
- Three
- Five
- Six
- Test: get adopters for advertisement 3
- Your output:
- Testing getting adopters for advertisement 3
- One = 0.0
- Two = 0.0
- Three = 0.0
- Four = 0.0
- Five = 0.0
- Six = 0.0
- Five
- Four
- One
- Six
- Three
- Two
- One = 12.0
- Two = 12.0
- Three = 4.2
- Four = 12.0
- Five = 6.99578167879
- Six = 12.0
- Four
- One
- Six
- Two
- Five
- Three
- One = 0.0
- Two = 0.0
- Three = 32.0
- Four = 0.0
- Five = 0.0
- Six = 0.0
- Three
- Five
- Four
- One
- Six
- Two
- Correct output:
- Testing getting adopters for advertisement 3
- Five
- Four
- One
- Six
- Three
- Two
- Four
- One
- Six
- Two
- Five
- Three
- Three
- Five
- Four
- One
- Six
- Two
- Test: get adopters for advertisement 4
- Your output:
- Testing getting adopters for advertisement 4
- One = 12.6111115538
- Two = 25.0
- Three = 17.5
- Four = 25.0
- Five = 13.8392340179
- Six = 25.0
- Four
- Six
- Two
- Three
- Five
- One
- Two = 0.0
- Two = 0.0
- Three = 0.9
- Four = 0.0
- Five = 0.0
- Six = 0.0
- Three
- Five
- Four
- Six
- Two
- Two
- Three = 18.8
- Two = 36.0
- Three = 18.8
- Four = 34.5
- Five = 12.4848381168
- Six = 36.0
- Six
- Two
- Four
- Three
- Three
- Five
- Correct output:
- Testing getting adopters for advertisement 4
- Four
- Six
- Two
- Three
- One
- Five
- Three
- Five
- Four
- Six
- Two
- Two
- Six
- Two
- Four
- Three
- Three
- Five
- Test: get ordered adoption center list 1
- Your output:
- Testing ordered adoption center listing
- Place1 = 6.0
- Place2 = 12.0
- Place3 = 10.5
- Place4 = 0.763583394362
- Place5 = 31.0
- Place6 = 0.598484282067
- Place5
- Place2
- Place3
- Place1
- Place4
- Place6
- Place1 = 12.0
- Place2 = 12.0
- Place3 = 21.0
- Place4 = 37.0
- Place5 = 31.0
- Place6 = 29.0
- Place4
- Place5
- Place6
- Place3
- Place1
- Place2
- Place1 = 3.6
- Place2 = 4.2
- Place3 = 6.3
- Place4 = 18.1
- Place5 = 10.2
- Place6 = 10.7
- Place4
- Place6
- Place5
- Place3
- Place2
- Place1
- Correct output:
- Testing ordered adoption center listing
- Place5
- Place2
- Place3
- Place1
- Place4
- Place6
- Place4
- Place5
- Place6
- Place3
- Place1
- Place2
- Place4
- Place6
- Place5
- Place3
- Place2
- Place1
- Test: get ordered adoption center list 2
- Your output:
- Testing ordered adoption center listing 2
- Place1 = 11.4
- Place2 = 12.0
- Place3 = 42.9
- Place4 = 30.0
- Place5 = 27.0
- Place6 = 31.1
- Place3
- Place6
- Place4
- Place5
- Place2
- Place1
- Place1 = 10.2524742999
- Place2 = 8.23206611803
- Place3 = 18.7552424414
- Place4 = 20.6617601573
- Place5 = 8.68033459371
- Place6 = 7.57303693371
- Place4
- Place6
- Place1
- Place2
- Place3
- Place5
- Place1 = 0.0
- Place2 = 2.0
- Place3 = 0.0
- Place4 = 0.0
- Place5 = 1.0
- Place6 = 0.0
- Place2
- Place5
- Place1
- Place3
- Place4
- Place6
- Correct output:
- Testing ordered adoption center listing 2
- Place3
- Place6
- Place4
- Place5
- Place2
- Place1
- Place4
- Place1
- Place2
- Place3
- Place5
- Place6
- Place2
- Place5
- Place1
- Place3
- Place4
- Place6
- Test: get ordered adoption center list 3
- Your output:
- Testing ordered adoption center listing 3
- Place1 = 0.0
- Place2 = 12.0
- Place3 = 0.0
- Place4 = 2.66064551999
- Place5 = 0.0
- Place6 = 2.74647279482
- Place2
- Place6
- Place4
- Place1
- Place3
- Place5
- Place1 = 0.0
- Place2 = 12.0
- Place3 = 0.0
- Place4 = 31.0
- Place5 = 0.0
- Place6 = 32.0
- Place6
- Place4
- Place2
- Place1
- Place3
- Place5
- Place1 = 0.0
- Place2 = 4.2
- Place3 = 45.0
- Place4 = 19.3
- Place5 = 1.8
- Place6 = 10.6
- Place3
- Place4
- Place6
- Place2
- Place5
- Place1
- Correct output:
- Testing ordered adoption center listing 3
- Place2
- Place6
- Place4
- Place1
- Place3
- Place5
- Place6
- Place4
- Place2
- Place1
- Place3
- Place5
- Place3
- Place4
- Place6
- Place2
- Place5
- Place1
- Test: get ordered adoption center list 4
- Your output:
- Testing ordered adoption center listing 4
- Place1 = 0.0
- Place2 = 12.0
- Place3 = 0.0
- Place4 = 37.0
- Place5 = 0.0
- Place6 = 20.2
- Place4
- Place6
- Place2
- Place1
- Place3
- Place5
- Place1 = 0.0
- Place2 = 6.69697249423
- Place3 = 0.0
- Place4 = 22.4658136997
- Place5 = 0.0
- Place6 = 2.44239944272
- Place4
- Place2
- Place6
- Place1
- Place3
- Place5
- Place1 = 0.0
- Place2 = 12.0
- Place3 = 0.0
- Place4 = 37.0
- Place5 = 0.0
- Place6 = 22.0
- Place4
- Place6
- Place2
- Place1
- Place3
- Place5
- Correct output:
- Testing ordered adoption center listing 4
- Place4
- Place6
- Place2
- Place1
- Place3
- Place5
- Place4
- Place2
- Place6
- Place1
- Place3
- Place5
- Place4
- Place6
- Place2
- Place1
- Place3
- Place5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement