Griffin Bassman 9af6883fbe
fix: dotnet test CI and standardize test categories (#5286)
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2025-02-03 11:49:08 -05:00

22 lines
590 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// AgentMetaDataTests.cs
using FluentAssertions;
using Microsoft.AutoGen.Contracts;
using Xunit;
namespace Microsoft.AutoGen.Core.Tests;
[Trait("Category", "UnitV2")]
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");
}
}