pyxissociety / lassert Goto Github PK
View Code? Open in Web Editor NEWUnary test cross-platform library in C
License: GNU General Public License v3.0
Unary test cross-platform library in C
License: GNU General Public License v3.0
Adding a way to count each allocated pointer (which could be associated with a string) and show, at the end of the program which pointer was not freed
On windows, using mode auto main, if the nth section of a file is on the same line as the nth section of another one, it will generate an error as both functions will have the same name. On unix, the problem do not occure as methods are statics.
Putting them static on windows make it fails as they are loaded as "before main behavior" using a pragma / declspec trick
Enable the output to be customized:
update doc with all those features (when they are finished):
Do so EPSILON used for floating point comparison is configurable
Remove temporary file from the system after use
Possible options
EQ
like macro with an additionnal parameter, epsilonAllow the user to define its own rand
like function
Is it possible to add a way to generate a malloc failure when needed ? (to work on it)
Be able to configure a random seed with a macro (compile time), using a parameter and in the code at runtime (re running random initialization)
CHECK macro do the same thing as REQUIRE but does not break the test flow (the following tests will still be executed, even on failure)
Add a new type of test case that takes a variable and an array of values and run the test case for each values
Add an INFO macro with the following behavior :
GitHub actions -> MacStadium
__attribute__((constructor))
seems to work
Make so that RUN_SECTION and the auto main returns a non null value on failure and a null value on success
Add functions that are automatically called on certain events:
See if it is possible to change the identifier used for names of sections and cases to strings
Adding performance test tools to either compare algorithms or check that their is no regression in duration
Add parameters when using automatic main to activate / deactivate some functionalities using arguments instead of macros (while leaving the macro behavior)
Some functionalities to set:
Add CI for multiple compilers:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.