mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 15:47:21 +00:00
Added a SWOT analysis assistant (#1122)
Co-authored-by: hart_s3 <sabrina.hartmann@dlr.de>
This commit is contained in:
1 parent
6cb20fd75a
commit
060a2a5734
87 files changed
+4601
-45
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using AIStudio.Assistants.SWOTAnalysis;
|
||||
|
||||
namespace AIStudio.Tests.Assistants.SWOTAnalysis;
|
||||
|
||||
[TestFixture]
|
||||
public sealed class SwotQuadrantLabelsTests
|
||||
{
|
||||
private static readonly SwotQuadrantLabels LABELS = new("Stärken", "Schwächen", "Chancen", "Risiken", "Intern", "Extern", "Positiv", "Negativ");
|
||||
|
||||
[TestCase(SwotAnalysisCategory.STRENGTHS, "Stärken", "Intern · Positiv")]
|
||||
[TestCase(SwotAnalysisCategory.WEAKNESSES, "Schwächen", "Intern · Negativ")]
|
||||
[TestCase(SwotAnalysisCategory.OPPORTUNITIES, "Chancen", "Extern · Positiv")]
|
||||
[TestCase(SwotAnalysisCategory.THREATS, "Risiken", "Extern · Negativ")]
|
||||
public void EveryQuadrantNamesItselfAndWhereItLies(SwotAnalysisCategory category, string expectedName, string expectedAxes)
|
||||
{
|
||||
Assert.Multiple(() =>
|
||||
{
|
||||
Assert.That(LABELS.NameOf(category), Is.EqualTo(expectedName));
|
||||
Assert.That(LABELS.AxesOf(category), Is.EqualTo(expectedAxes));
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user