diff --git a/src/lib/util/doubles.h b/src/lib/util/doubles.h index a481f720c1d7fdf14237fb56f4d873f6179789d0..780b8fc4d447b89336192bc7c4118abb340061ca 100644 --- a/src/lib/util/doubles.h +++ b/src/lib/util/doubles.h @@ -12,10 +12,10 @@ namespace isc { namespace util { -/// @brief Tests two doubles for equivalance within a given tolerance +/// @brief Tests two doubles for equivalence within a given tolerance. /// /// @param a comparison operand one -/// @param b comparison operand two +/// @param b comparison operand two /// @param tolerance the amount by which the two values may differ and /// still be considered "equal". /// @return True if the two values differ by less than the tolerance. diff --git a/src/lib/util/tests/doubles_unittest.cc b/src/lib/util/tests/doubles_unittest.cc index e268e2cef60255b14accc099343d54b6df2c9950..8988906d3a9e9aa5fcbc2de610e0cde2ba367ae9 100644 --- a/src/lib/util/tests/doubles_unittest.cc +++ b/src/lib/util/tests/doubles_unittest.cc @@ -16,7 +16,7 @@ using namespace isc::util; namespace { -// Excerises isc::util::areDoublesEquivalent(). +// Exercises isc::util::areDoublesEquivalent(). TEST(Doubles, areDoublesEquivalent) { std::vector data;