GCC Code Coverage Report


Directory: CFDP/Checksum/
File: GTest/Checksums.cpp
Date: 2026-09-03 21:14:27
Exec Total Coverage
Lines: 0 4 0.0%
Functions: 0 1 0.0%
Branches: 0 10 0.0%

Line Branch Exec Source
1 // ======================================================================
2 // \title CFDP/Checksum/GTest/Checksums.cpp
3 // \author bocchino
4 // \brief cpp file for CFDP Checksum gtest utilities
5 //
6 // \copyright
7 // Copyright (C) 2016, California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12
13 #include "CFDP/Checksum/GTest/Checksums.hpp"
14
15 namespace CFDP {
16
17 namespace GTest {
18
19 void Checksums ::compare(const CFDP::Checksum& expected, const CFDP::Checksum& actual) {
20 const U32 expectedValue = expected.getValue();
21 const U32 actualValue = actual.getValue();
22 ASSERT_EQ(expectedValue, actualValue);
23 }
24
25 } // namespace GTest
26
27 } // namespace CFDP
28