Find Jobs
Hire Freelancers

Complete a JUnit 4 test using the provided NumberSequence file -- 2

$30-250 USD

Finalizat
Data postării: circa 3 ani în urmă

$30-250 USD

Plata la predare
Prepare a JUnit 4 test within Eclipse, named TestNumberSequence, for the 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. 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. * <p> * <b>Any formatting is acceptable.</b> */ @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. 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 - Using a completed correct implementation of NumberSequence, every single one of the tests 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 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.
ID-ul proiectului: 29463792

Despre proiect

3 propuneri
Proiect la distanță
Activ: 3 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
***I can start now to help in your Java Project with JUnit 4 to get it done in just next few hours*** Hi There, I am interested in the Java task/code/project. Let's start and discuss further on the chat. As I have worked on Java projects for building Web Applications using Java Spring Framework, Spring Boot, Spring MVC, Spring Security, Rest API, JUnit 4 JUnit 5 Testing + Mockito, Postman API monitoring & Testing. Also on Angular as a front-end and MySql for Database. I have also done many Java Programs / Tasks of different topics including (but not limited) OOPS Programming Concepts, Data structure and algorithm, GUI programming, Java 8 New Features, Exception handling, Multi-threading and so on... with conceptual knowledge. - Looking forward to work with you. Cheers! Happy Coding.
$50 USD în 1 zi
5,0 (97 recenzii)
5,5
5,5
3 freelanceri plasează o ofertă medie de $73 USD pentru proiect
Avatarul utilizatorului
Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA, C, C++, C#, Python, .NET , Mysql, Sql, Ionic , Matlab, ANDROID and ARDUINO. I am very confident with my skills and I'd like to help your business by doing my best. I am able to work full time on your time zone and start working right away. Please confirm that I am one of the best fits for you and drop me a message for further discussion. High-quality & Fast-delivery is promised! Thanks and Best Regards
$140 USD în 2 zile
4,6 (21 recenzii)
5,1
5,1

Despre client

Steagul UNITED STATES
Arlington, United States
5,0
12
Metoda de plată a fost confirmată
Membru din apr. 13, 2018

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.