Skip to content

Skylar-Brockbank/movieTheater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Theater

By Karen Axon & Skylar Brockbank

Returns a price after giving the user options regarding movie, time and age

Technologies Used

  • HTML
  • CSS(Bootstrap)
  • Git
  • Javascript

Description

Returns a price after giving the user options regarding movie, time and age

Setup/Installation Requirements

  • _Click the green "Code" button and Download Zip _

  • Extract the contents of the zip file to a folder on your machine

  • Run the Index.html file with your browser of choice (I recommend Chrome)

  • alternatively you can clone this repository from Git Hub

Tests

Description: Ticket() Test: It should return an object with properties of newRelease, showTime, and ageRange Code: Ticket1 = new Ticket(false, 1, 1); Ticket1.ageRange; Expected Outcome: 1

Description: Movie() Test: It should return an object with properties of newRelease, and showTimes Code: Movie1 = new Movie(true,[]); Movie1.newRelease; Expected Outcome: true

Description: Catalog() Test: It should return an object containing a list of Movie objects called movies Code: Catalog1 = new Catalog(); Movie1 = new Movie(true,[]); Catalog1.addMovie(Movie1); Catalog1.movies[0].newRelease; Expected Outcome: true

Description: Ticket.prototype.getPrice() Test: It should return a price given the specifics of the ticket object. Code: Ticket1 = new Ticket(true,1,1); Ticket1.getPrice(); Expected Outcome: 11

Description: Ticket.prototype.getPrice() Test: It should return a price given the specifics of the ticket object. Code: Ticket1 = new Ticket(true,1,0); Ticket1.getPrice(); Expected Outcome: 9

Description: tButtons() Test: It should return a button element Code: tButtons() Expected Outcome: "test"

Test: It should return a button element with a value Code: tButtons(0)) Expected Outcome: "test"

Known Bugs

  • No Known Bugs (bugs coming soon to a theater near you)

License

*MIT Licenced *Copyright (c) 2021 Karen Axon Skylar Brockbank

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published