Coder Social home page Coder Social logo

Comments (20)

alxmjo avatar alxmjo commented on May 22, 2024 1

Yep!

  • Create a new file under include/utils called data_conversion.hpp (I think this title is a better reflection of the fact that we're converting cases of characters – we could add other data conversion functions later).
  • In that file add two functions: make_upper_case() and make_lower_case(). The random number generation can go in a different file later on.
  • Add unit tests for these functions under test/utils in a file called data_conversion.cpp.
  • If you're having trouble figuring out what the tests should look like, look at other testing files to get an idea how they work.

Let me know if you have any questions. 🙂

from proalgos-cpp.

beardbytes avatar beardbytes commented on May 22, 2024 1

Okay..Thanks for the explanation !

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024 1

from proalgos-cpp.

mrKappen avatar mrKappen commented on May 22, 2024

I am on it!

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

@mrKappen Great! Also, if you're new to the repo and want to get your feet wet, a great way to do that is to migrate an algorithm to the new organization scheme, à la #201 and #202. Let me know if you have any questions.

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

This also requires some thought as to what our goals would be regarding validation and how we would want to implement it in the project.

from proalgos-cpp.

beardbytes avatar beardbytes commented on May 22, 2024

I am interested and new to open source

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

Great! Have a look at PR #209. A lot of the work is already done but it was closed automatically a while ago (there were merge issues that were never sorted out).

from proalgos-cpp.

beardbytes avatar beardbytes commented on May 22, 2024

Alright ! I can't find the file .

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

Alright ! I can't find the file .

Try this: https://github.com/ProAlgos/ProAlgos-Cpp/pull/209/commits#diff-264aaf8546723aaccf7ce2e80d46ae3f

from proalgos-cpp.

beardbytes avatar beardbytes commented on May 22, 2024

Alright ! I can't find the file .

Try this: https://github.com/ProAlgos/ProAlgos-Cpp/pull/209/commits#diff-264aaf8546723aaccf7ce2e80d46ae3f

Okay ! I am looking where the commit conflicts are present .

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

Might be easiest to just add the file from scratch rather than trying to manage conflicts. I think the folder organization is good, though. include/utils/data_validation.hpp. I think it would be better to separate the random number generation into a different file. And of course we'll want to add unit tests for anything we add.

from proalgos-cpp.

beardbytes avatar beardbytes commented on May 22, 2024

Okay . So , just to be clear .
I have to make a new file in the include/utils directory . And I have to add data validation functions in this file along with unit tests !

from proalgos-cpp.

stale avatar stale commented on May 22, 2024

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

from proalgos-cpp.

subhadeep1912 avatar subhadeep1912 commented on May 22, 2024

I would like to know whether I can still contribute??

from proalgos-cpp.

alxmjo avatar alxmjo commented on May 22, 2024

I would like to know whether I can still contribute??

Definitely. Just reference this issue in your PR.

from proalgos-cpp.

0xWaleed avatar 0xWaleed commented on May 22, 2024

Opened a PR for upper/lower case ^ 🥳 and hopefully it closes this issue unless if random int/double still required : ) but I think they are different problems random != conversion 🤔

from proalgos-cpp.

0xWaleed avatar 0xWaleed commented on May 22, 2024

@alxmjo Sorry for the mention. Please can you review my pull request, I would appreciate your feedback. Thank you.

from proalgos-cpp.

rohithv999 avatar rohithv999 commented on May 22, 2024

I am interested in contributing to this issue. Also, I am new to open source.

from proalgos-cpp.

ParthSaboo007 avatar ParthSaboo007 commented on May 22, 2024

Hi @alxmjo I am interested in contributing to this repo as my first PR.

from proalgos-cpp.

Related Issues (20)

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.