Cody

Solution 320788

Submitted on 18 Sep 2013 by Tim
  • Size: 53
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% tic names={{'Dead_Bowie' 'Nyssa_Raatko'} {'Animora' 'Lafety_Le_Fei'} {'Animora' 'Mothergod'} {'Animora' 'Nyssa_Raatko'} {'Dead_Bowie' 'Genevieve_Savidge'} {'Dead_Bowie' 'Lafety_Le_Fei'} {'Animora' 'Genevieve_Savidge'} {'Dead_Bowie' 'Mothergod'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
2   Pass
%% names={{'Mephista' 'New_Wave'} {'Mephista' 'Ursa'} {'Zaladane' 'Mai_Shen'} {'Mephista' 'Mai_Shen'} {'White_Rabbit' 'Hypnota'} {'White_Rabbit' 'New_Wave'} {'Ursa' 'Scandal'} {'Zaladane' 'New_Wave'} {'Ursa' 'Hypnota'} {'Zaladane' 'Scandal'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
3   Pass
%% names={{'Spider_Girl' 'Blue_Snowman'} {'Blue_Snowman' 'Roulette'} {'Roulette' 'Spider_Girl'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
4   Pass
%% names={{'Magenta' 'Golden_Glider'} {'Tala' 'Mothergod'} {'The_Lightning' 'Shiv'} {'The_Lightning' 'Prank'} {'Magenta' 'Shiv'} {'Tala' 'Prank'} {'Trinity' 'Golden_Glider'} {'Magenta' 'Prank'} {'The_Lightning' 'Mothergod'} {'Trinity' 'Mothergod'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
5   Pass
%% names={{'The_Lightning' 'Star_Sapphire'} {'Unicron' 'Queen_Of_Fables'} {'Unicron' 'Dead_Bowie'} {'Lady_Quark' 'Fury_Leika'} {'Lady_Quark' 'Star_Sapphire'} {'The_Lightning' 'Dead_Bowie'} {'Asbestos_Lady' 'Queen_Of_Fables'} {'Unicron' 'Lady_Quark'} {'Asbestos_Lady' 'Star_Sapphire'} {'The_Lightning' 'Fury_Leika'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
6   Pass
%% names={{'Zaladane' 'Scandal'} {'Lashina' 'King_Ghidorah'} {'Doctor_Cyber' 'Tala'} {'Lashina' 'Evinlea'} {'Dr_Evil' 'Tala'} {'Zaladane' 'King_Ghidorah'} {'Doctor_Cyber' 'Evinlea'} {'Doctor_Cyber' 'King_Ghidorah'} {'Dr_Evil' 'Scandal'} {'Lashina' 'Scandal'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
7   Pass
%% names={{'Bombshell' 'Rampage'} {'Deuce' 'Ursa'} {'Bombshell' 'Ursa'} {'Lady_Octopus' 'Rampage'} {'Doctor_Cyber' 'Black_Mamba'} {'Deuce' 'Madame_Rouge'} {'Doctor_Cyber' 'Rampage'} {'Lady_Octopus' 'Madame_Rouge'} {'Doctor_Cyber' 'Madame_Rouge'} {'Lady_Octopus' 'Black_Mamba'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
8   Pass
%% names={{'Cyborgirl' 'Fury_Leika'} {'Asbestos_Lady' 'Margaret_Love'} {'Amazing_Grace' 'Fury_Leika'} {'Cyborgirl' 'Hypnota'} {'Duela_Dent' 'Amazing_Grace'} {'Duela_Dent' 'Hypnota'} {'Amazing_Grace' 'Margaret_Love'} {'Duela_Dent' 'Mephista'} {'Duela_Dent' 'Fury_Leika'} {'Asbestos_Lady' 'Mephista'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
9   Pass
%% names={{'Jason_Kreis' 'Poundcakes'} {'Margaret_Love' 'Star_Sapphire'} {'Snapdragon' 'Ingra'} {'Snapdragon' 'Poundcakes'} {'Snapdragon' 'Star_Sapphire'} {'Dead_Bowie' 'Star_Sapphire'} {'Jason_Kreis' 'Ingra'} {'Dead_Bowie' 'Rampage'} {'Dead_Bowie' 'Poundcakes'} {'Margaret_Love' 'Rampage'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
10   Pass
%% names={{'Lazara' 'Southpaw'} {'Dansen_Macabre' 'Jewelee'} {'Lazara' 'Amazing_Grace'} {'Osira' 'Amazing_Grace'} {'Osira' 'Coachwhip'} {'Coachwhip' 'Princess_Python'} {'Dansen_Macabre' 'Princess_Python'} {'Coachwhip' 'Southpaw'} {'Osira' 'Princess_Python'} {'Osira' 'Jewelee'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
11   Pass
%% names={{'Lashina' 'Trinity'} {'Lashina' 'Mephista'} {'Lashina' 'Shiv'} {'Lashina' 'Dr_Evil'} {'Lashina' 'Fem_Paragon'} {'Lashina' 'King_Ghidorah'} {'Lashina' 'The_Lightning'} {'Lashina' 'Syndrome'} {'Lashina' 'Margaret_Love'} {'Lashina' 'Lady_Octopus'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
12   Pass
%% names={{'Lotso' 'Snapdragon'} {'Animora' 'Silver_Swan'} {'Devastation' 'Animora'} {'Snapdragon' 'Devastation'} {'Silver_Swan' 'Lotso'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
13   Pass
%% names={{'Spider_Girl' 'Livewire'} {'Jason_Kreis' 'Trinity'} {'Spider_Girl' 'Syndrome'} {'Jason_Kreis' 'Livewire'} {'Harley_Quinn' 'Livewire'} {'Spider_Girl' 'Coachwhip'} {'Lady_Octopus' 'Coachwhip'} {'Lady_Octopus' 'Syndrome'} {'Harley_Quinn' 'Coachwhip'} {'Spider_Girl' 'Trinity'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
14   Pass
%% names={{'Silver_Swan' 'Windfall'} {'Silver_Swan' 'Poison_Ivy'} {'Lafety_Le_Fei' 'Poison_Ivy'} {'Lafety_Le_Fei' 'Windfall'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
15   Pass
%% names={{'Livewire' 'Titania'} {'Livewire' 'Abominatrix'} {'Shiv' 'Ursa'} {'Shiv' 'Abominatrix'} {'Princess_Python' 'Abominatrix'} {'Silk_Fever' 'Abominatrix'} {'Livewire' 'Ursa'} {'Princess_Python' 'Titania'} {'Princess_Python' 'Poundcakes'} {'Silk_Fever' 'Poundcakes'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
16   Pass
%% names={{'Fem_Paragon' 'Amy_Madison'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
17   Pass
%% names={{'Princess_Python' 'Dr_Evil'} {'Lady_Vic' 'Amy_Madison'} {'Lady_Octopus' 'Ursa'} {'Lafety_Le_Fei' 'Shiv'} {'Princess_Python' 'Amy_Madison'} {'Princess_Python' 'Shiv'} {'Lafety_Le_Fei' 'Ursa'} {'Lafety_Le_Fei' 'Amy_Madison'} {'Lady_Octopus' 'Dr_Evil'} {'Lady_Vic' 'Dr_Evil'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
18   Pass
%% names={{'Queen_Of_Fables' 'Magenta'} {'Genevieve_Savidge' 'Magenta'} {'Spider_Girl' 'Black_Mamba'} {'Spider_Girl' 'Lady_Shiva'} {'Jinx' 'Lady_Shiva'} {'Spider_Girl' 'Mist'} {'Genevieve_Savidge' 'Lady_Shiva'} {'Jinx' 'Black_Mamba'} {'Genevieve_Savidge' 'Mist'} {'Queen_Of_Fables' 'Black_Mamba'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
19   Pass
%% names={{'Titania' 'Saturn_Queen'} {'Lafety_Le_Fei' 'Saturn_Queen'} {'Lafety_Le_Fei' 'Tigress'} {'Titania' 'Tigress'} {'Golddigger' 'Tigress'} {'Titania' 'Tala'} {'Lafety_Le_Fei' 'Tala'} {'Golddigger' 'Tala'} {'Golddigger' 'Saturn_Queen'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
20   Pass
%% names={{'Roulette' 'Livewire'} {'Roulette' 'Mai_Shen'} {'Shiv' 'Bombshell'} {'Ursa' 'Bombshell'} {'Ursa' 'Livewire'} {'Shiv' 'Doctor_Cyber'} {'Roulette' 'Bombshell'} {'Blue_Snowman' 'Mai_Shen'} {'Ursa' 'Doctor_Cyber'} {'Blue_Snowman' 'Livewire'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
21   Pass
%% names={{'Zaladane' 'Duela_Dent'} {'Cyborgirl' 'Lafety_Le_Fei'} {'Cyborgirl' 'Duela_Dent'} {'Black_Mamba' 'Unicron'} {'Lady_Death' 'Duela_Dent'} {'Zaladane' 'Cyborgirl'} {'Cyborgirl' 'Devastation'} {'Lady_Death' 'Lafety_Le_Fei'} {'Black_Mamba' 'Devastation'} {'Zaladane' 'Unicron'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
22   Pass
%% names={{'Rad' 'Jason_Kreis'} {'Emerald_Empress' 'Lady_Vic'} {'Rad' 'Magenta'} {'Lagomorph' 'Jason_Kreis'} {'Lagomorph' 'Lady_Vic'} {'Lagomorph' 'Magenta'} {'Lagomorph' 'Lady_Quark'} {'Emerald_Empress' 'Genevieve_Savidge'} {'Lady_Quark' 'Genevieve_Savidge'} {'Lady_Quark' 'Jason_Kreis'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
23   Pass
%% names={{'Golden_Glider' 'Lady_Clay'} {'Golden_Glider' 'Titania'} {'Lady_Clay' 'Lashina'} {'Lady_Clay' 'Titania'} {'Black_Mamba' 'Lashina'} {'Lady_Clay' 'Lady_Octopus'} {'Maxima' 'Lady_Octopus'} {'Maxima' 'Titania'} {'Black_Mamba' 'Decay'} {'Golden_Glider' 'Decay'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
24   Pass
%% names={{'Princess_Python' 'Fem_Paragon'} {'Abominatrix' 'Fem_Paragon'} {'Lady_Quark' 'Princess_Python'} {'The_Crimson_Ghost' 'Ingra'} {'Abominatrix' 'Jinx'} {'Lady_Quark' 'Rampage'} {'Abominatrix' 'Rampage'} {'Princess_Python' 'Jinx'} {'The_Crimson_Ghost' 'Jinx'} {'Lady_Quark' 'Ingra'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
25   Pass
%% names={{'Dr_Horrible' 'Ingra'} {'Dr_Horrible' 'Sun_Girl'} {'Prank' 'Duela_Dent'} {'Valentina' 'Duela_Dent'} {'Prank' 'Ingra'} {'Lazara' 'Tigress'} {'Lazara' 'Ingra'} {'Lazara' 'Sun_Girl'} {'Valentina' 'Tigress'} {'Valentina' 'Dr_Horrible'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
26   Pass
%% names={{'Dansen_Macabre' 'Jewelee'} {'Sun_Girl' 'Jewelee'} {'Lady_Shiva' 'Trinity'} {'Lady_Shiva' 'Ursa'} {'Poison_Ivy' 'Jewelee'} {'Dansen_Macabre' 'Ursa'} {'Poison_Ivy' 'Shimmer'} {'Poison_Ivy' 'Trinity'} {'Sun_Girl' 'Shimmer'} {'Lady_Shiva' 'Jewelee'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
27   Pass
%% names={{'Zaladane' 'Eviless'} {'Superwoman' 'Typhoid_Mary'} {'Zaladane' 'Typhoid_Mary'} {'Zaladane' 'Genevieve_Savidge'} {'Superwoman' 'Eviless'} {'Zaladane' 'Bombshell'} {'Ingra' 'Bombshell'} {'Jinx' 'Genevieve_Savidge'} {'Ingra' 'Genevieve_Savidge'} {'Jinx' 'Eviless'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
28   Pass
%% names={{'Mai_Shen' 'Decay'} {'Ingra' 'Decay'} {'Mai_Shen' 'Deuce'} {'Ingra' 'Lady_Octopus'} {'Margaret_Love' 'Bombshell'} {'Ingra' 'Deuce'} {'Margaret_Love' 'Decay'} {'Dr_Evil' 'Lady_Octopus'} {'Dr_Evil' 'Bombshell'} {'Margaret_Love' 'Ingra'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
29   Pass
%% names={{'Dead_Bowie' 'Fake_Thomas_Jefferson'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
30   Pass
%% names={{'Silk_Fever' 'Snapdragon'} {'Professor_Padraic_Ratigan' 'Maxima'} {'Lady_Shiva' 'Decay'} {'Lady_Shiva' 'Lady_Octopus'} {'Nyssa_Raatko' 'Lady_Octopus'} {'Professor_Padraic_Ratigan' 'Decay'} {'Silk_Fever' 'Maxima'} {'Nyssa_Raatko' 'Decay'} {'Professor_Padraic_Ratigan' 'Lady_Octopus'} {'Lady_Shiva' 'Snapdragon'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
31   Pass
%% names={{'Bombshell' 'Trinity'} {'Mothergod' 'Professor_Padraic_Ratigan'} {'Tigress' 'Dr_Horrible'} {'Tigress' 'Princess_Python'} {'Rad' 'Dr_Horrible'} {'Rad' 'Professor_Padraic_Ratigan'} {'Mothergod' 'Trinity'} {'Tigress' 'Trinity'} {'Bombshell' 'Professor_Padraic_Ratigan'} {'Mothergod' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
32   Pass
%% names={{'Mai_Shen' 'Windfall'} {'Syndrome' 'Queen_Bee'} {'Dr_Horrible' 'Mai_Shen'} {'Windfall' 'Animora'} {'New_Wave' 'Dr_Horrible'} {'Animora' 'Syndrome'} {'Queen_Bee' 'New_Wave'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
33   Pass
%% names={{'Evinlea' 'Fake_Thomas_Jefferson'} {'Evinlea' 'Southpaw'} {'Magpie' 'Southpaw'} {'Magpie' 'Jason_Kreis'} {'Mist' 'Southpaw'} {'Tigress' 'Jason_Kreis'} {'Tigress' 'Fake_Thomas_Jefferson'} {'Mist' 'Jason_Kreis'} {'Evinlea' 'Gru'} {'Magpie' 'Gru'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
34   Pass
%% names={{'Nyssa_Raatko' 'Shiv'} {'Nyssa_Raatko' 'Queen_Of_Fables'} {'Jewelee' 'The_Lightning'} {'Jinx' 'Shiv'} {'Nyssa_Raatko' 'Rad'} {'Jinx' 'The_Lightning'} {'Nyssa_Raatko' 'The_Lightning'} {'Jewelee' 'Rad'} {'Professor_Padraic_Ratigan' 'Shiv'} {'Professor_Padraic_Ratigan' 'Queen_Of_Fables'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
35   Pass
%% names={{'Ingra' 'Sun_Girl'} {'Southpaw' 'Golden_Glider'} {'Superwoman' 'Mothergod'} {'Ingra' 'Tigress'} {'Superwoman' 'Sun_Girl'} {'Southpaw' 'Mothergod'} {'Silk_Fever' 'Tigress'} {'Superwoman' 'Ingra'} {'Ingra' 'Golden_Glider'} {'Silk_Fever' 'Sun_Girl'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
36   Pass
%% names={{'Mai_Shen' 'Tala'} {'Mai_Shen' 'Abominatrix'} {'Mai_Shen' 'Mothergod'} {'Mai_Shen' 'Ursa'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
37   Pass
%% names={{'Princess_Python' 'Abominatrix'} {'Mai_Shen' 'Devastation'} {'Abominatrix' 'Mai_Shen'} {'Devastation' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
38   Pass
%% names={{'Shiv' 'Titania'} {'Lady_Quark' 'Trinity'} {'Mothergod' 'Hypnota'} {'Shiv' 'Hypnota'} {'Lady_Quark' 'White_Rabbit'} {'Lady_Octopus' 'Trinity'} {'Shiv' 'Lady_Quark'} {'Mothergod' 'Trinity'} {'Mothergod' 'White_Rabbit'} {'Lady_Octopus' 'Titania'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
39   Pass
%% names={{'Lazara' 'Queen_Of_Fables'} {'Queen_Bee' 'Magpie'} {'Queen_Bee' 'Rad'} {'Lashina' 'Queen_Of_Fables'} {'Lashina' 'Superwoman'} {'Dead_Bowie' 'Queen_Of_Fables'} {'Lashina' 'Magpie'} {'Queen_Bee' 'Queen_Of_Fables'} {'Dead_Bowie' 'Rad'} {'Lazara' 'Superwoman'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
40   Pass
%% names={{'New_Wave' 'Ingra'} {'Syndrome' 'Princess_Python'} {'New_Wave' 'Sun_Girl'} {'Lashina' 'Ingra'} {'Silk_Fever' 'Ingra'} {'New_Wave' 'Princess_Python'} {'Syndrome' 'Shiv'} {'Lashina' 'Shiv'} {'Lashina' 'Sun_Girl'} {'Silk_Fever' 'Sun_Girl'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
41   Pass
%% names={{'Hypnota' 'Sun_Girl'} {'Doctor_Cyber' 'Windfall'} {'Dr_Evil' 'Valentina'} {'Hypnota' 'Abominatrix'} {'Doctor_Cyber' 'Sun_Girl'} {'Mist' 'Windfall'} {'Doctor_Cyber' 'Valentina'} {'Mist' 'Abominatrix'} {'Mist' 'Sun_Girl'} {'Dr_Evil' 'Abominatrix'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
42   Pass
%% names={{'Leather' 'King_Ghidorah'} {'Jinx' 'Bombshell'} {'Leather' 'Lady_Vic'} {'Leather' 'Osira'} {'Jewelee' 'Bombshell'} {'Leather' 'Bombshell'} {'Amy_Madison' 'King_Ghidorah'} {'Jinx' 'King_Ghidorah'} {'Jewelee' 'Osira'} {'Amy_Madison' 'Lady_Vic'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
43   Pass
%% names={{'Madame_Rouge' 'Ingra'} {'Margaret_Love' 'Ingra'} {'Yellowjacket' 'Dansen_Macabre'} {'Margaret_Love' 'The_Crimson_Ghost'} {'Margaret_Love' 'Rad'} {'Madame_Rouge' 'The_Crimson_Ghost'} {'Yellowjacket' 'Rad'} {'Yellowjacket' 'Ingra'} {'New_Wave' 'Dansen_Macabre'} {'New_Wave' 'The_Crimson_Ghost'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
44   Pass
%% names={{'Amy_Madison' 'Typhoid_Mary'} {'Typhoid_Mary' 'The_Crimson_Ghost'} {'Amy_Madison' 'Spider_Girl'} {'Queen_Bee' 'Spider_Girl'} {'Queen_Bee' 'Livewire'} {'Nyssa_Raatko' 'The_Crimson_Ghost'} {'Typhoid_Mary' 'Mothergod'} {'Amy_Madison' 'The_Crimson_Ghost'} {'Typhoid_Mary' 'Livewire'} {'Nyssa_Raatko' 'Mothergod'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
45   Pass
%% names={{'Margaret_Love' 'Shimmer'} {'Snapdragon' 'Shimmer'} {'Snapdragon' 'Lady_Octopus'} {'Snapdragon' 'Jewelee'} {'Decay' 'Poundcakes'} {'Amy_Madison' 'Poundcakes'} {'Decay' 'Lady_Octopus'} {'Margaret_Love' 'Lady_Octopus'} {'Decay' 'Jewelee'} {'Amy_Madison' 'Jewelee'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
46   Pass
%% names={{'Black_Mamba' 'Purgatori'} {'Talia_Al_Ghul' 'Windfall'} {'Lady_Death' 'Madame_Masque'} {'Spider_Girl' 'Madame_Masque'} {'Black_Mamba' 'Saturn_Queen'} {'Black_Mamba' 'Madame_Masque'} {'Spider_Girl' 'Saturn_Queen'} {'Talia_Al_Ghul' 'Purgatori'} {'Lady_Death' 'Windfall'} {'Spider_Girl' 'Purgatori'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
47   Pass
%% names={{'Bombshell' 'Queen_Of_Fables'} {'Silk_Fever' 'Lady_Quark'} {'Windfall' 'Star_Sapphire'} {'Windfall' 'Queen_Of_Fables'} {'Silk_Fever' 'Star_Sapphire'} {'Silk_Fever' 'Bombshell'} {'Shiv' 'Dead_Bowie'} {'Shiv' 'Lady_Quark'} {'Windfall' 'Lady_Quark'} {'Bombshell' 'Dead_Bowie'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
48   Pass
%% names={{'Silver_Swan' 'Gru'} {'Superwoman' 'Lagomorph'} {'Silver_Swan' 'Duela_Dent'} {'Silver_Swan' 'Superwoman'} {'Superwoman' 'Lady_Vic'} {'Saturn_Queen' 'Lady_Vic'} {'Saturn_Queen' 'Duela_Dent'} {'Poundcakes' 'Lagomorph'} {'Silver_Swan' 'Lady_Vic'} {'Poundcakes' 'Gru'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
49   Pass
%% names={{'Lady_Vic' 'Queen_Bee'} {'Deuce' 'Yellowjacket'} {'Prank' 'Amazing_Grace'} {'Bombshell' 'Yellowjacket'} {'Deuce' 'Amazing_Grace'} {'Lady_Vic' 'Lady_Death'} {'Deuce' 'Prank'} {'Bombshell' 'Amazing_Grace'} {'Prank' 'Queen_Bee'} {'Deuce' 'Lady_Death'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
50   Pass
%% names={{'Maxima' 'Sun_Girl'} {'Spider_Girl' 'Genevieve_Savidge'} {'Spider_Girl' 'Madame_Masque'} {'Fem_Paragon' 'Margaret_Love'} {'Maxima' 'Genevieve_Savidge'} {'Maxima' 'Madame_Masque'} {'Spider_Girl' 'Sun_Girl'} {'Devastation' 'Sun_Girl'} {'Devastation' 'Margaret_Love'} {'Fem_Paragon' 'Madame_Masque'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
51   Pass
%% names={{'Tala' 'Animora'} {'Tala' 'Scandal'} {'Tala' 'Amazing_Grace'} {'Tala' 'Lafety_Le_Fei'} {'Tala' 'Lady_Quark'} {'Tala' 'Silver_Banshee'} {'Tala' 'Dansen_Macabre'} {'Tala' 'Jason_Kreis'} {'Tala' 'Cyborgirl'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
52   Pass
%% names={{'Fem_Paragon' 'Golddigger'} {'Southpaw' 'Deuce'} {'Southpaw' 'Golddigger'} {'Fem_Paragon' 'Sun_Girl'} {'Rad' 'Sun_Girl'} {'Southpaw' 'Sun_Girl'} {'Rad' 'Lady_Clay'} {'Fem_Paragon' 'Bombshell'} {'Deuce' 'Lady_Clay'} {'Deuce' 'Bombshell'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
53   Pass
%% names={{'Poison_Ivy' 'Lady_Octopus'} {'Poison_Ivy' 'Lazara'} {'Lazara' 'Lagomorph'} {'Poison_Ivy' 'Tala'} {'Mephista' 'Lagomorph'} {'Mai_Shen' 'Lagomorph'} {'Mephista' 'Tala'} {'Mai_Shen' 'Lady_Octopus'} {'Mephista' 'Lady_Death'} {'Lazara' 'Lady_Death'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
54   Pass
%% names={{'Professor_Padraic_Ratigan' 'Superwoman'} {'Professor_Padraic_Ratigan' 'Shiv'} {'Professor_Padraic_Ratigan' 'Amazing_Grace'} {'Amazing_Grace' 'Bombshell'} {'Saturn_Queen' 'Superwoman'} {'Professor_Padraic_Ratigan' 'Bombshell'} {'Tala' 'Shiv'} {'Tala' 'Trinity'} {'Saturn_Queen' 'Bombshell'} {'Amazing_Grace' 'Trinity'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
55   Pass
%% names={{'Zaladane' 'Talia_Al_Ghul'} {'Cyborgirl' 'Snapdragon'} {'Talia_Al_Ghul' 'Cyborgirl'} {'Silver_Banshee' 'Deuce'} {'New_Wave' 'Mist'} {'Osira' 'Lady_Octopus'} {'Lady_Octopus' 'Silver_Banshee'} {'Snapdragon' 'Osira'} {'Mist' 'Zaladane'} {'Deuce' 'New_Wave'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
56   Pass
%% names={{'Asbestos_Lady' 'Coachwhip'} {'Asbestos_Lady' 'Jewelee'} {'Asbestos_Lady' 'Shimmer'} {'Lady_Shiva' 'Jewelee'} {'Blue_Snowman' 'Coachwhip'} {'Ingra' 'Coachwhip'} {'Lady_Shiva' 'Ingra'} {'Lady_Shiva' 'Titania'} {'Ingra' 'Shimmer'} {'Blue_Snowman' 'Titania'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
57   Pass
%% names={{'Abominatrix' 'Tigress'} {'Queen_Bee' 'Rampage'} {'Unicron' 'Rampage'} {'Lady_Octopus' 'Poundcakes'} {'Unicron' 'Queen_Of_Fables'} {'Abominatrix' 'Queen_Bee'} {'Abominatrix' 'Queen_Of_Fables'} {'Queen_Bee' 'Poundcakes'} {'Lady_Octopus' 'Tigress'} {'Abominatrix' 'Poundcakes'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
58   Pass
%% names={{'Scandal' 'Jinx'} {'Scandal' 'Doctor_Cyber'} {'Scandal' 'Roulette'} {'Queen_Bee' 'Jinx'} {'Queen_Bee' 'Roulette'} {'Queen_Bee' 'Yellowjacket'} {'Margaret_Love' 'Yellowjacket'} {'Zaladane' 'Roulette'} {'Margaret_Love' 'Doctor_Cyber'} {'Zaladane' 'Yellowjacket'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
59   Pass
%% names={{'Lady_Quark' 'Madame_Masque'} {'Coachwhip' 'Lady_Quark'} {'Lady_Clay' 'Coachwhip'} {'Madame_Masque' 'Southpaw'} {'Talia_Al_Ghul' 'Lady_Clay'} {'Southpaw' 'Talia_Al_Ghul'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
60   Pass
%% names={{'Evinlea' 'Silver_Banshee'} {'Magenta' 'Amy_Madison'} {'Magenta' 'Fake_Thomas_Jefferson'} {'Deuce' 'Fake_Thomas_Jefferson'} {'Magenta' 'Silver_Banshee'} {'Evinlea' 'Trinity'} {'Cyborgirl' 'Amy_Madison'} {'Cyborgirl' 'Trinity'} {'Evinlea' 'Fake_Thomas_Jefferson'} {'Deuce' 'Silver_Banshee'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
61   Pass
%% names={{'Jewelee' 'Madame_Rouge'} {'Jewelee' 'Fem_Paragon'} {'Jewelee' 'Professor_Padraic_Ratigan'} {'Jewelee' 'Evinlea'} {'Jewelee' 'Fury_Leika'} {'Jewelee' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
62   Pass
%% names={{'Amy_Madison' 'The_Crimson_Ghost'} {'Syndrome' 'Lady_Vic'} {'Syndrome' 'Lady_Quark'} {'Lagomorph' 'Poison_Ivy'} {'Lagomorph' 'Lady_Vic'} {'Shimmer' 'Lady_Quark'} {'Lagomorph' 'The_Crimson_Ghost'} {'Amy_Madison' 'Syndrome'} {'Amy_Madison' 'Poison_Ivy'} {'Shimmer' 'Poison_Ivy'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
63   Pass
%% names={{'Silver_Swan' 'Purgatori'} {'Nyssa_Raatko' 'Purgatori'} {'Nyssa_Raatko' 'Shimmer'} {'Abominatrix' 'Nyssa_Raatko'} {'Nyssa_Raatko' 'Bombshell'} {'Silver_Swan' 'Bombshell'} {'Abominatrix' 'Duela_Dent'} {'Abominatrix' 'Purgatori'} {'Windfall' 'Duela_Dent'} {'Windfall' 'Shimmer'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
64   Pass
%% names={{'Fury_Leika' 'The_Lightning'} {'Amy_Madison' 'The_Lightning'} {'The_Crimson_Ghost' 'Lady_Death'} {'Shimmer' 'Lady_Death'} {'Amy_Madison' 'Queen_Of_Fables'} {'The_Crimson_Ghost' 'Queen_Of_Fables'} {'Fury_Leika' 'Queen_Of_Fables'} {'Amy_Madison' 'Dansen_Macabre'} {'Fury_Leika' 'Dansen_Macabre'} {'Shimmer' 'The_Lightning'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
65   Pass
%% names={{'Abominatrix' 'Lady_Shiva'} {'Queen_Clea' 'Fake_Thomas_Jefferson'} {'Abominatrix' 'Hypnota'} {'Jewelee' 'Lady_Shiva'} {'Madame_Masque' 'Lady_Shiva'} {'Jewelee' 'Hypnota'} {'Queen_Clea' 'Hypnota'} {'Madame_Masque' 'Maxima'} {'Jewelee' 'Fake_Thomas_Jefferson'} {'Jewelee' 'Maxima'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
66   Pass
%% names={{'Southpaw' 'Silver_Banshee'} {'Animora' 'Professor_Padraic_Ratigan'} {'Dansen_Macabre' 'Jason_Kreis'} {'Valentina' 'Professor_Padraic_Ratigan'} {'Animora' 'Jason_Kreis'} {'Animora' 'Silver_Banshee'} {'Southpaw' 'Professor_Padraic_Ratigan'} {'Dansen_Macabre' 'Titania'} {'Valentina' 'Jason_Kreis'} {'Valentina' 'Titania'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
67   Pass
%% names={{'Saturn_Queen' 'Lazara'} {'Decay' 'Magpie'} {'Saturn_Queen' 'Decay'} {'Harley_Quinn' 'Magpie'} {'Bombshell' 'Silver_Banshee'} {'Decay' 'Lazara'} {'Decay' 'Madame_Masque'} {'Saturn_Queen' 'Silver_Banshee'} {'Bombshell' 'Madame_Masque'} {'Harley_Quinn' 'Lazara'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
68   Pass
%% names={{'Silver_Banshee' 'Osira'} {'Jewelee' 'Dead_Bowie'} {'Scandal' 'Poison_Ivy'} {'Scandal' 'Osira'} {'Shiv' 'Dead_Bowie'} {'Shiv' 'Rad'} {'Silver_Banshee' 'Poison_Ivy'} {'Jewelee' 'Osira'} {'Scandal' 'Shiv'} {'Silver_Banshee' 'Rad'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
69   Pass
%% names={{'Scandal' 'Roulette'} {'Poison_Ivy' 'Mephista'} {'Amazing_Grace' 'Spider_Girl'} {'Poison_Ivy' 'Roulette'} {'Scandal' 'Lafety_Le_Fei'} {'Mephista' 'Lafety_Le_Fei'} {'Mephista' 'Spider_Girl'} {'Poison_Ivy' 'Princess_Python'} {'Poison_Ivy' 'Spider_Girl'} {'Amazing_Grace' 'Princess_Python'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
70   Pass
%% names={{'Dr_Horrible' 'Genevieve_Savidge'} {'Decay' 'Windfall'} {'Dansen_Macabre' 'Princess_Python'} {'Purgatori' 'Windfall'} {'Purgatori' 'Princess_Python'} {'Purgatori' 'Mist'} {'Dr_Horrible' 'Mist'} {'Dansen_Macabre' 'Genevieve_Savidge'} {'Decay' 'Mist'} {'Dr_Horrible' 'Princess_Python'} }; exp=1; TF=Make_Teams(names); assert(TF==exp)
71   Pass
%% names={{'Typhoid_Mary' 'Margaret_Love'} {'Typhoid_Mary' 'Sun_Girl'} {'Typhoid_Mary' 'Osira'} {'Deuce' 'Fake_Thomas_Jefferson'} {'Fake_Thomas_Jefferson' 'Margaret_Love'} {'Deuce' 'Sun_Girl'} {'Fake_Thomas_Jefferson' 'Tala'} {'Lashina' 'Sun_Girl'} {'Lashina' 'Tala'} {'Deuce' 'Osira'} }; exp=0; TF=Make_Teams(names); assert(TF==exp)
72   Fail
%% names={{'Golden_Glider' 'Rad'} {'Lashina' 'Mothergod'} {'White_Rabbit' 'Asbestos_Lady'} {'Star_Sapphire' 'White_Rabbit'} {'Lafety_Le_Fei' 'Star_Sapphire'} {'Mothergod' 'Lafet