Giter Club home page Giter Club logo

curqui-test's Introduction

Curqui_test

Tests for the ft_printf project of 42.

Important

To get all green tests doesn't mean your ft_printf is good.
To get some red tests doesn't mean your ft_printf isn't good.

Usage

  1. Copy your libftprintf.a at the root of your repository.
  2. make
  3. ./ft_printf_tests
  4. For some details, check rslt_trace.txt

/!\ Don't compile your libftprintf.a with sanitize !

Contributing

Don't hesitate to create a Pull Request if a test is missing. The test must compile with the flags -Wall -Wextra -Werror. Thanks for your contribution :)

curqui-test's People

Contributors

rogerzecat avatar sreouven avatar teybeo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

curqui-test's Issues

Peut être une erreur

Bonjour je pense qu'il y a peut être une erreur au conv_bigs/bigs_precision_07;
printf("%.2ls", str) avec (wchar_t *)str tel que :

  • str[0] = 'S';
  • str[1] = 254;
  • str[2] = 'u';
  • str[3] = '\0';
    le test imprime 'S˛' et renvoie 2, or 'S' prend 1 byte et '˛' en prend 2, du coup, selon moi printf ne devrait imprimer 'S' et renvoyer 1 non ?
    Je me trompe peut être aussi :)
    En tout cas merci pour la batterie de test !

One possible error foget

I found one error who curqui_test dont check :
printf("0#10.0x", 12345);
printf("0#x", 0);
Thank you.

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.