Skip to content

nickdeakin/java-interview-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java Interview Project

Introduction

Requires Java 11, maven and an IDE

There is a class with 3 methods, InterviewImpl

  • sortArray

The intention of this method is to sort the input array into either ascending or descending order.

  • filterArray

The intention of this method is to filter the input array so only values from the min to the max values, including the min and max, are returned.

  • textTester

This method returns a hardcoded value supplied by the Texty class

There is an accompanying test class, InterviewTest

There are a few test methods written, or partially written to test the methods in InterviewImpl

Tasks

  • Add the code to sortArray in ascending and descending order. Run the corresponding tests.
  • Add the code to filterArray method to correctly return what is expected.
  • Complete the test method to test the filterArray method.
  • Mock the texty class.
  • Ensure the tests are passing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages