kprint now works

This commit is contained in:
2022-10-24 17:40:08 +06:00
parent bbeb6bea1d
commit 49f1931a34
10 changed files with 71 additions and 51 deletions

View File

@@ -9,8 +9,8 @@ void test_all(){
test_hash_functions();
test_hashtable();
test_dtsod();
test_kprint_colors();
test_rng_algorithms();
test_kprint_colors();
printf("\e[96m--------------------------------------\e[0m\n");
}
int main(){
@@ -20,8 +20,8 @@ int main(){
ktDescriptors_endInit();
printf("\e[97mkerep tests are starting!\n");
// optime("test_all",1,test_all());
// test_kprint_colors();
test_rng_algorithms();
test_kprint_colors();
ktDescriptors_free();
printf("\e[0m\n");
return 0;

View File

@@ -45,4 +45,6 @@ void test_kprint_colors(){
testColor(Cyan);
testColor(White);
kprint_setColor(kprint_bgBlack | kprint_fgGray);
kprint(kprint_fmtInt | kprint_fgCyan, 8888, kprint_fmtString | kprint_fgYellow, " ooo ", kprint_fmtFloat | kprint_bgDarkGreen | kprint_fgRed, 4.01, kprint_fmtString | kprint_fgWhite, "\ngg\n");
}