2025-01-30 15:02:44 -05:00
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
// AgentMetaDataTests.cs
|
|
|
|
using FluentAssertions;
|
|
|
|
using Microsoft.AutoGen.Contracts;
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
namespace Microsoft.AutoGen.Core.Tests;
|
|
|
|
|
2025-02-03 11:49:08 -05:00
|
|
|
[Trait("Category", "UnitV2")]
|
2025-01-30 15:02:44 -05:00
|
|
|
public class AgentMetadataTests()
|
|
|
|
{
|
|
|
|
[Fact]
|
|
|
|
public void AgentMetadataShouldInitializeCorrectlyTest()
|
|
|
|
{
|
|
|
|
var metadata = new AgentMetadata("TestType", "TestKey", "TestDescription");
|
|
|
|
|
|
|
|
metadata.Type.Should().Be("TestType");
|
|
|
|
metadata.Key.Should().Be("TestKey");
|
|
|
|
metadata.Description.Should().Be("TestDescription");
|
|
|
|
}
|
|
|
|
}
|