Skip to content

4. Unit Tests

Jinfeng-Lyu edited this page Apr 13, 2023 · 39 revisions
  1. Unit Tests

In this section, we use googletest as the tool of unit test. The source is from this website: https://github.com/google/googletest. The function of googletest is to use assertions to check whether the output value of a programme is corresponded to the expected value. If correspond, it reports ture, otherwise false.

Clone this wiki locally