Skip to content

Commit

Permalink
Start adding unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin authored and andy31415 committed Dec 12, 2024
1 parent c80b1a7 commit 9dd0045
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/support/FluentTreeObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ namespace chip {
/// static bool HasKey(const Key & id, const Type & instance) { /* return "instance has key id" */ }
/// }
///
/// Where we define:
/// - how to get a "span of sub-elements" for an object (`GetSpan`)
/// - how to determine if a given sub-element has the "correct key"
/// Where we define:
/// - how to get a "span of sub-elements" for an object (`GetSpan`)
/// - how to determine if a given sub-element has the "correct key"
template <typename T>
class FluentTreeObject
{
Expand Down
1 change: 1 addition & 0 deletions src/lib/support/tests/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ chip_test_suite("tests") {
"TestDefer.cpp",
"TestErrorStr.cpp",
"TestFixedBufferAllocator.cpp",
"TestFluentTreeObject.cpp",
"TestFold.cpp",
"TestIniEscaping.cpp",
"TestIntrusiveList.cpp",
Expand Down

0 comments on commit 9dd0045

Please sign in to comment.