• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Free Unit Tests for Common Problems?

 
Ranch Hand
Posts: 239
12
Scala IntelliJ IDE Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know where to download free unit tests for common problems? For instance, a set of unit tests that can test if you implemented ______ correctly? Insert whatever into the blank: binary search, quick sort, depth-first search, bla bla bla.

I'm thinking this would be an awesome public service. If no one is doing it, maybe I should start. Create some kind of huge open-source database of unit tests applicable to various algorithms. Could be good for the world. What do y'all think?
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The only thing I can think of like that is Equals Tester.

I think the unit tests would be educational to write or others to learn from. I'm not sure how useful they'd be for people to actually test their code as people shouldn't be writing their own sort methods. That's what the built in APIs are for.
reply
    Bookmark Topic Watch Topic
  • New Topic