test_inverse.c and test_swap: fix codestyle issues

Signed-off-by: Andrey Skvortsov <Andrej.Skvortzov@gmail.com>
add standard nagios ranges support

Signed-off-by: Andrey Skvortsov <Andrej.Skvortzov@gmail.com>