Results 1 to 2 of 2
  1. #1
    Suzanne1187 is offline Member
    Join Date
    Feb 2009
    Posts
    11
    Rep Power
    0

    Default Array Method Testing

    I'm having trouble with writing my test for a method that takes an int array and changes it around to ascending order....

    I have my method already developed but Im having problems writing the tests. Note that my method does not return anything it is "public void".

    So how to write a test for an array method that does not return anything but just alters input???

    Thanks

  2. #2
    mtyoung is offline Senior Member
    Join Date
    Dec 2008
    Location
    Hong Kong
    Posts
    473
    Rep Power
    6

Similar Threads

  1. Replies: 2
    Last Post: 02-24-2009, 05:32 PM
  2. Int Array Allowed in main() Method?
    By Starclopsofish in forum New To Java
    Replies: 19
    Last Post: 10-03-2008, 05:22 PM
  3. Replies: 2
    Last Post: 04-16-2008, 01:35 PM
  4. Replies: 1
    Last Post: 02-16-2008, 10:10 PM
  5. Replies: 2
    Last Post: 02-16-2008, 09:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •