Code Fellows 401 Labs 1-10
- Modified
inheritancedirectory with Lab 07 assignment which contains the functions and tests shown in the tree below.
├───inheritance
│ └───lib
│ └───src
│ ├───main
│ │ ├───java
│ │ │ └───inheritance
│ │ │ └───Destination
│ │ │ | | └───addReview()
│ │ │ | | └───toString()
│ │ │ | | └───getStars()
│ │ │ | | └───getName()
│ │ │ | | └───getPriceCategory()
│ │ │ | | └───getReviews()
│ │ │ | └───Restaurant
│ │ │ | └───Shop
│ │ │ | | └───toString()
│ │ │ | └───Theater
│ │ │ | └───addMovie()
│ │ │ | └───removeMovie()
│ │ │ | └───toString()
│ │ │ | └───getNowShowingList()
│ │ │ └───Review
│ │ │ | └───addReview()
│ │ │ | └───toString()
│ │ │ | └───getStars()
│ │ │ | └───updateStars()
│ │ │ | └───getBody()
│ │ │ | └───getRestaurant()
│ │ │ └───TheaterReview
│ │ │ └───toString()
│ │ │ └───getMovie()
│ └───test
│ ├───java
│ │ └───inheritance
│ │ └───RestaurantTest
│ │ | └───testConstructor()
│ │ | └───testConstructorThrowsIllegalArgumentException()
│ │ | └───testToString()
│ │ | └───testRestaurantReviewAssociation()
│ │ | └───testStarRatingUpdate()
│ │ | └───getReviews()
│ │ └───ReviewTest
│ │ | └───testConstructor()
│ │ | └───testConstructorThrowsIllegalArgumentException()
│ │ | └───testToString()
│ │ └───ShopTest
│ │ | └───testConstructor()
│ │ | └───testConstructorThrowsIllegalArgumentException()
│ │ | └───testToString()
│ │ | └───testShopReviewAssociation()
│ │ | └───testStarRatingUpdate()
│ │ | └───getReviews()
│ │ └───TheaterReviewTest
│ │ | └───testConstructor()
│ │ | └───testConstructorWithMovieTitle()
│ │ | └───testConstructorThrowsIllegalArgumentException()
│ │ | └───testToString()
│ │ | └───testToStringWithMovieTitle()
│ │ └───TheaterTest
│ │ └───testConstructor()
│ │ └───testConstructorThrowsIllegalArgumentException()
│ │ └───testAddMovie()
│ │ └───testRemoveMovie()
│ │ └───testToString()
│ │ └───testTheaterReviewAssociation()
│ │ └───testStarRatingUpdate()
│ └───resources- Added
inheritancedirectory with Lab 06 assignment which contains the functions and tests shown in the tree below.
├───inheritance
│ └───lib
│ └───src
│ ├───main
│ │ ├───java
│ │ │ └───inheritance
│ │ │ └───Restaurant
│ │ │ | └───addReview()
│ │ │ | └───toString()
│ │ │ | └───getStars()
│ │ │ | └───getName()
│ │ │ | └───getPriceCategory()
│ │ │ | └───getReviews()
│ │ │ └───Review
│ │ │ └───addReview()
│ │ │ └───toString()
│ │ │ └───getStars()
│ │ │ └───updateStars()
│ │ │ └───getBody()
│ │ │ └───getRestaurant()
│ └───test
│ ├───java
│ │ └───inheritance
│ │ └───RestaurantTest
│ │ | └───testConstructor()
│ │ | └───testConstructorThrowsIllegalArgumentException()
│ │ | └───testToString()
│ │ | └───testRestaurantReviewAssociation()
│ │ | └───testStarRatingUpdate()
│ │ | └───getReviews()
│ │ └───ReviewTest
│ │ └───testConstructor()
│ │ └───testConstructorThrowsIllegalArgumentException()
│ │ └───testToString()
│ └───resources- Added
linterdirectory with Lab 03 assignment which contains the functions and tests shown in the tree below. - Added
analyzeWeatherData(),tally(), andupdateVotesfunctions tobasiclibrary, along with associated tests.
├───linter
│ └───app
│ └───src
│ ├───main
│ │ ├───java
│ │ │ └───linter
│ │ │ | └───main()
│ │ │ | └───runLinter()
│ │ │ |───resources
│ └───test
│ ├───java
│ │ └───linter
│ │ | └───testMainThrowsExceptionWithNoArguments()
│ │ | └───testMainThrowsExceptionWithWrongNumberOfArguments()
│ │ | └───testMainThrowsExceptionWithWrongNumberOfArguments()
│ │ | └───testRunLinterNoErrors()
│ │ | └───testRunLinterFewErrors()
│ │ | └───testRunLinterManyErrors()
│ │ | └───testRunLinterEmptyFile()
│ │ |───resources- Added
basiclibrarydirectory with Lab 02 assignment which contains the functions and tests shown in the tree below
├───basiclibrary
│ └───lib
│ └───src
│ ├───main
│ │ ├───java
│ │ │ └───basiclibrary
│ │ │ └───roll()
│ │ │ └───containsDuplicates()
│ │ │ └───calculateAverage()
│ │ │ └───findSmallestSubarray()
│ │ │ └───analyzeWeatherData()
│ │ │ └───tally()
│ │ │ └───updateVotes()
│ └───test
│ ├───java
│ │ └───basiclibrary
│ │ └───testNumberOfRolls()
│ │ └───testRollsRange()
│ │ └───testRollIllegalArgumentException()
│ │ └───testContainsDuplicatesIsTrue()
│ │ └───testContainsDuplicatesIsFalse()
│ │ └───testContainsDuplicatesIllegalArgumentException()
│ │ └───testCalculateAverageWithDelta()
│ │ └───testCalculateAverageIllegalArgumentException()
│ │ └───testFindSmallestSubarray()
│ │ └───testFindSmallestSubarrayOuterArrayIllegalArgumentException()
│ │ └───testFindSmallestSubarrayInnerArrayIllegalArgumentException()
│ │ └───testAnalyzeWeatherDataUnseenTemperatures()
│ │ └───testAnalyzeWeatherDataOuterArrayIllegalArgumentException()
│ │ └───testAnalyzeWeatherDataInnerArrayIllegalArgumentException()
│ │ └───testTallForSingleWinner()
│ │ └───testTallyForTie()
│ │ └───testTallyForEmptyList()
│ │ └───testTallyForEmptyString()
│ │ └───testUpdateVotesForExistingCandidate()
│ │ └───testUpdateVotesForNewCandidate()
│ └───resources- Added
basicsdirectory with Lab 01 assignment which contains the functions shown in the tree below
└───basics
│ └───pluralize()
│ └───flipNHeads()
│ └───clock()