feat: add unit tests for DocumentContent, CustomSource, PageLocationCitation, SourceType, and TextSource classes
chore: update VSCode settings to exclude docs from search
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace AnthropicClient.Tests.Unit.Models;
|
||||
|
||||
public class TextSourceTests
|
||||
{
|
||||
[Fact]
|
||||
public void Constructor_WhenCalled_ItShouldSetProperties()
|
||||
{
|
||||
var result = new TextSource("data");
|
||||
|
||||
result.Type.Should().Be("text");
|
||||
result.MediaType.Should().Be("text/plain");
|
||||
result.Data.Should().Be("data");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user