Find Jobs
Hire Freelancers

Create a JUnit 4 Test within Eclipse for the provided ADT

$30-250 USD

Completed
Posted about 3 years ago

$30-250 USD

Paid on delivery
Prepare a JUnit 4 test within Eclipse, named [login to view URL], for the provided NumberSequence ADT. Prepare TestNumberSequence with the [login to view URL] package, and write tests against the function implementations within NumberSequence. - Note: this will need to be completed within 24 hours. NumberSequence must not be edited for the tests to complete/pass. The tests must be designed so that any complete & correct implementation of NumberSequence will pass. Looking at [login to view URL]() method: /** * Retrieve the first number in the sequence. * * @return first number as an `int` */ public int first(){ // Not yet implemented. // This is an exercise in writing tests, not implementation. return 0; // this is a placeholder so that the code compiles. } This function retrieves the first number in the sequence. How is it stored? This is just an implementation question. The only concern is whether this function returns the expected first number as an int. The implementation details are not relevant to writing the test. Next, looking at [login to view URL]() method: /** * List all all numbers generated thus far, in order. * Any formatting is acceptable. */ @Override public String toString(){ // Not yet implemented. // This is an exercise in writing tests, not implementation. return "This is a placeholder so that the code compiles."; } It states that any formatting is accepted, so the test does not need to assume specific formatting for toString. Again, nothing within the provided NumberSequence file needs to be edited. I will only need the [login to view URL] file that is created upon completion. I have provided a sample of test placeholders, but they are not complete. Overview: 1 - File returned ([login to view URL]) is placed within the [login to view URL] package. 2 - Tests pass by assuming any completed/correct implementation of NumberSequence, every single one of the tests pass. (Do not edit NumberSequence to pass the tests, the tests are written with the assumption that any correct implementation of NumberSequence will pass) 3 - One test per mutator, the piece of code performs operations as designed and does not something it was not designed for. I will also need a separate .txt file of the mutators and accessors: Mutator - any member function that changes the state of an object. Accessor - any member function that examines the state of an object but does not change the state of that object. I will be running this through Eclipse Java, so it needs to run through that. However, feel free to use whichever methods you prefer as long as the outcome is the same.
Project ID: 29465161

About the project

3 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello JAVA EXPERT I have read your description and I am so interested in your project. You can see well experienced and skillful Java +15 years of experience in software development. Confident in your project and I can finish it clearly on time. Working with me, you will have a good experience and a good friend and save more time and money. ★★★★★★★★★★★★★★★★★★★★★★★ Best regards!
$50 USD in 1 day
5.0 (63 reviews)
5.8
5.8
3 freelancers are bidding on average $183 USD for this job
User Avatar
Hi there,I'm biddin on your project "Create a JUnit 4 Test within Eclipse for the provided ADT" I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the project. Thanks. .. .
$250 USD in 6 days
4.8 (93 reviews)
7.8
7.8
User Avatar
Hi there, I'm bidding on your project "Create a JUnit 4 Test within Eclipse for the provided ADT" Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can discuss the budget and deadline of the project. Also, have a look at my profile for my reviews and portfolios. Thanks Note: This is not an automated bid and i'm ready to discuss your project right now. .. .
$250 USD in 6 days
5.0 (34 reviews)
7.1
7.1

About the client

Flag of UNITED STATES
Arlington, United States
5.0
15
Payment method verified
Member since Apr 13, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.