Updated test cases documentation

This commit is contained in:
Bartek Kryza
2023-12-22 21:44:17 +01:00
parent 3671bf9beb
commit bf7b69bcca
381 changed files with 26178 additions and 19073 deletions

View File

@@ -18,7 +18,7 @@ diagrams:
using_namespace: clanguml::t20038
```
## Source code
File t20038.cc
File `tests/t20038/t20038.cc`
```cpp
#include <future>
@@ -112,6 +112,23 @@ int tmain()
}
}
```
File `tests/t20038/include/t20038.h`
```cpp
#pragma once
namespace clanguml {
namespace t20038 {
template <typename T> T add_impl(T a, T b) { return a + b; };
template <typename T> T add(T a, T b)
{
// Invoke 'add' implementation
return add_impl(a, b);
};
}
}
```
## Generated PlantUML diagrams
![t20038_sequence](./t20038_sequence.svg "Sequence diagram comment decorator test case")
## Generated Mermaid diagrams