This research aims to examine the equality of two nonparametric regression functions using two test statistics: the robust kernel regression (Arks), which estimates regression functions from the robust kernel regression, and the kernel regression (Aks), which estimates regression functions with the Nadaraya-Watson Estimator. Influenced by the Kolmogorov-Smirnov test statistic, the test statistic Arks in the present study is created from the empirical distribution function (EDF) of errors. The efficiency of each of the statistics is also compared when the distribution of errors is heavy-tailed and outliers are present in the data. It is found that in case of normal distribution of errors with no outliers, the test statistics Arks and Aks are almost equally efficient. In contrast, in case of heavy-tailed distribution of errors or presence of outliers, the test statistic Arks is much more efficient than the test statistic Aks. Additionally, as the size of n is larger, both statistics become more efficient. In addition, in case the regression function is linear, both test statistics are highly efficient. Finally, the application of the two test statistics to actual data yields consistent results.