#JUnit testing

1 messages ยท Page 1 of 1 (latest)

leaden waspBOT
#

<@&987246399047479336> please have a look, thanks.

leaden waspBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

dawn warren
#

Well you need to do two things here, both change the generic type of the list and actually add all items to the shapes field

#

Have you already attempted something?

limpid dome
#

Yeah, but not passed

#

Can you show me the code?

#

How to add the items

#

and change the generic type

dawn warren
#

Can you show me your attempt? If I'd be telling you the answer straight away then I'd be doing your homework, which kinda beats the purpose of getting homework ๐Ÿ™‚

limpid dome
#

I tried this

dawn warren
#

And where does that fail on?

limpid dome
#

I don't have a fail now, but I don't know if it's that good like this

#

I actually don't know how to solve this

leaden waspBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you ๐Ÿ‘

velvet river
#

I just started learning java like 2 months ago, and started JUnit testing i want to know what a non-trivial JUnit test is.

#

And what i should do (becuz im clueless)

still wren