Test Cases (0/6)

      let world2 = new World(50);

    • world.cities.length to return 101

    • let world2 = new World(50); world2.add_city("seattle");

    • world.random_city().name.length to return 5

    • typeof world.random_city().citizens[0].age to return number

    • world.total_cities() to return 101

    • world2.cities.length to return 50

    • world2.cities.length to return 51

    Output
    Michael
      (0/300)