Tester class


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Tester class

  1. #1
    Join Date
    Feb 2003
    Posts
    9

    Post Tester class

    I need to creat a tester class to my sort class with those specification can some one help me.


    public static void sort( Comparable[] x, int algorithm, int test ) this method sorts the given array with the specified algorithm and test. The results of the test are printed to the console. The values for algorithm are specified by the class constants SortTester.MERGESORT, SortTester.BASIC_QUICKSORT, and SortTester.ENHANCED_QUICKSORT. The values for test are specified by the class constants SortTester.NONE, SortTester.TIMING_TEST, and SortTester.COUNTING_TEST.


    thank you

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    More coursework from Cohen?

    What are your ideas so far? (Hint: you should be thinking input/output range checking)
    ArchAngel.
    O:-)

  3. #3
    Join Date
    Feb 2003
    Posts
    9
    Are you taking class with him?
    I figure it out...
    thx...

  4. #4
    Join Date
    Mar 2003
    Posts
    834
    Nope.
    ArchAngel.
    O:-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center