Logo
Explore Help
Sign In
laentropia/Calculator
1
0
Fork 0
You've already forked Calculator
Code Issues 3 Pull Requests Actions Packages Projects 1 Releases Wiki Activity
Files
14c115bdbcf8ec83d91e3afd52fe4d0a95553b22
Calculator/test/test_lexer.c

12 lines
186 B
C
Raw Normal View History

First version for string_to_number, just one test, is working fine, i'm considering swithching to handling only integers for in the future to manage in special struct that manages doubles as fractions, obviously this will mean changing nodes for general numbers to integers/fractions and shit
2026-03-09 09:06:06 -06:00
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <setjmp.h>
#include <cmocka.h>
fix: tests and main
2026-05-13 18:48:14 -06:00
#include <stdlib.h>
First version for string_to_number, just one test, is working fine, i'm considering swithching to handling only integers for in the future to manage in special struct that manages doubles as fractions, obviously this will mean changing nodes for general numbers to integers/fractions and shit
2026-03-09 09:06:06 -06:00
int main(void) {
fix: tests and main
2026-05-13 18:48:14 -06:00
return EXIT_SUCCESS;
First version for string_to_number, just one test, is working fine, i'm considering swithching to handling only integers for in the future to manage in special struct that manages doubles as fractions, obviously this will mean changing nodes for general numbers to integers/fractions and shit
2026-03-09 09:06:06 -06:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API