The ocean waves are generally mixed with wind wave and swell. In order to separate these two kinds of ocean waves, many wave spectral partitioning techniques have been proposed. In this study, a two-dimensional(2D) and three one-dimensional (1D) wave spectral partitioning techniques (denoted as PM, WH, and JP) are examined based on the model simulations and in-situ observations. It is shown that the 2D technique could provide the most reliable results as a whole. Compared with 2D technique, PM and JP techniques obviously overestimate the wind-wave components, and the same situation happens for WH technique at low wind speed. With the adjustment of the partitioning frequency ratio, the 1D PM technique is modified, in which the result agree well with that of the 2D scheme.