mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
19 lines
548 B
C#
19 lines
548 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
namespace Microsoft.Extensions.AI.Agents.Runtime.Abstractions.Tests;
|
|
|
|
public class AgentMetadataTests()
|
|
{
|
|
[Fact]
|
|
public void AgentMetadataShouldInitializeCorrectlyTest()
|
|
{
|
|
// Arrange & Act
|
|
ActorMetadata metadata = new(new ActorType("TestType"), "TestKey", "TestDescription");
|
|
|
|
// Assert
|
|
Assert.Equal("TestType", metadata.Type.Name);
|
|
Assert.Equal("TestKey", metadata.Key);
|
|
Assert.Equal("TestDescription", metadata.Description);
|
|
}
|
|
}
|