commit | 996a3479d45a601d8a9aa68f7acf282800226191 | [log] [tgz] |
---|---|---|
author | Yuval Peress <peress@google.com> | Wed Nov 08 20:16:40 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 20:16:40 2023 +0000 |
tree | aab6e10ab4a5b724187fcce2e6565f10d91d852d | |
parent | 74ed509bc15e65bc898284b697cacde6684c8288 [diff] |
pw_unit_test: Support *_NEAR, *_FLOAT_EQ, *_DOUBLE_EQ Add implementation of the _NEAR checks using existing infrastructure. The same method is used for comparing floats and double. Error messaging was shortened compared to gTest's to save on buffer space. Change-Id: I8b5d490d48f756c61a6b7008e221c522f747fcae Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/179770 Reviewed-by: Alexei Frolov <frolv@google.com> Commit-Queue: Yuval Peress <peress@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.