Giter Club home page Giter Club logo

Comments (6)

alirezaghey avatar alirezaghey commented on June 4, 2024 3

IMHO, we should keep the test cases language agnostic. Just simple input-output format.

from a-december-of-algorithms-2019.

mahavisvanathan avatar mahavisvanathan commented on June 4, 2024

Since this is a community event and not a competitive programming competition we felt like an explanation of the problem and a sample would be enough. But taking into account your view, we will definitely include more test cases for the upcoming questions and you are free to send a pull request with test cases for the existing ones. How many test cases per question do you have in mind?

from a-december-of-algorithms-2019.

alirezaghey avatar alirezaghey commented on June 4, 2024

Between five to ten, maybe?
IMHO, we don't need to cover every edge case, or large inputs, just enough test cases to help better understand the problem, and make sure one has a basic correct algorithm.

from a-december-of-algorithms-2019.

cwilby avatar cwilby commented on June 4, 2024

I've written unit tests for exercises 1 and 2 in my forked repo, that covers 2/30 of Javascript, only 30 * programming languages to go!

from a-december-of-algorithms-2019.

mahavisvanathan avatar mahavisvanathan commented on June 4, 2024

Yes like @alirezaghey said we would like to keep the test cases agnostic as there are too many languages that need to be covered in case of unit tests. A section in the README with test cases would be enough. Feel free to add to the section that is already present.

from a-december-of-algorithms-2019.

stale avatar stale commented on June 4, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from a-december-of-algorithms-2019.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.