add assert() variants similar to g_assert_cmp*()
@dueno
Submitted by Daiki Ueno Link to original bug (#704072)
Description
In my project, I have a lot of test cases which compare strings. The built-in assert() function is not so helpful for failure cases, since it doesn't print the actual value evaluated.
What do you think about adding some variants of assert(), like g_assert_cmpstr() in glib or assertEqual() in python? I guess it requires changes to codegen to generate the macros in C, and new code attributes to call them.