Adding support to dynamic font loading.

This commit is contained in:
Fabio Guerra
2020-08-03 19:33:52 -03:00
parent c85295b5ea
commit f58d97d990
10 changed files with 909 additions and 0 deletions

View File

@@ -97,6 +97,15 @@ void lv_test_error(const char * s, ...)
exit(1);
}
void lv_test_assert_true(int32_t expression, const char * s)
{
if(!expression) {
lv_test_error(" FAIL: %s. (Expected: not zero)", s, expression);
} else {
lv_test_print(" PASS: %s. (Expected: not zero)", s, expression);
}
}
void lv_test_assert_int_eq(int32_t n_ref, int32_t n_act, const char * s)
{
if(n_ref != n_act) {