You can use one of the C unit test libraries / frameworks , since it is possible to call public characters written directly in the assembly. Writing unit tests in an assembly to preserve the same language can be a cumbersome task, and in the end you are more interested in learning about the output / behavior of the function being tested.
source share