Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create The Calculator project

...

sources:

To present an example of using GoogleTest, we first need to create a project in C ++. In the project directory named Calculator, we will create the C ++ source and header files in the appropriate directories. For the tutorial, we create operations.cpp in the src directory, which contains a simple divide function and the operation.h header file.

...