Add in-place calculatoin test for every functions in basicmath Signed-off-by: Siyuan Cheng <siyuanc@synopsys.com>