The Artima Developer Community
Sponsored Link

Java Answers Forum
Palindrome Problem

16 replies on 2 pages. Most recent reply: Nov 9, 2006 6:59 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 16 replies on 2 pages [ « | 1 2 ]
Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Palindrome Problem Posted: Nov 9, 2006 12:13 AM
Reply to this message Reply
Advertisement
That would be an option, yes.

In this case it might not have helped at all, because both solutions are correct - for a different task.

I didn't realise that numbers with hundrets of digits should also be possible.

But now tht you mention Unit Tests, I have a question:
I'mt just starting with unit tests, didn't quite get the idea how to use them for large operations (My project creates the worksteps: drillings, cuts and routing operation to create a wooden object out of a 3d object). Most of the samples I found in various tutorials handle just very small and simple operations, I didn't find any source how to create automated tests for complex operations. Do you know where I can find something like that?

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: Palindrome Problem Posted: Nov 9, 2006 6:59 PM
Reply to this message Reply
Big tests like that wouldn't be considered unit tests.

That's more of a functional or system test, which can also be automated, of course. There are testing frameworks for such things; you can probably find a lot of them by searching the web.

Flat View: This topic has 16 replies on 2 pages [ « | 1  2 ]
Topic: Palindrome Problem Previous Topic   Next Topic Topic: How to come out from frame

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use