You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

AgentMetaDataTests.cs 590 B

123456789101112131415161718192021
  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // AgentMetaDataTests.cs
  3. using FluentAssertions;
  4. using Microsoft.AutoGen.Contracts;
  5. using Xunit;
  6. namespace Microsoft.AutoGen.Core.Tests;
  7. [Trait("Category", "UnitV2")]
  8. public class AgentMetadataTests()
  9. {
  10. [Fact]
  11. public void AgentMetadataShouldInitializeCorrectlyTest()
  12. {
  13. var metadata = new AgentMetadata("TestType", "TestKey", "TestDescription");
  14. metadata.Type.Should().Be("TestType");
  15. metadata.Key.Should().Be("TestKey");
  16. metadata.Description.Should().Be("TestDescription");
  17. }
  18. }