tests: adding missing tests for newly introduced classes

This commit is contained in:
Stevan Freeborn
2025-06-15 11:49:48 -05:00
parent 98da1384c1
commit 0c62a7cfcc
12 changed files with 190 additions and 0 deletions
@@ -0,0 +1,17 @@
namespace AnthropicClient.Tests.Unit.Models;
public class ContentBlockLocationCitationTests
{
[Fact]
public void Constructor_WhenCalled_ItShouldSetProperties()
{
var result = new ContentBlockLocationCitation();
result.Type.Should().Be("content_block_location");
result.CitedText.Should().BeEmpty();
result.DocumentIndex.Should().Be(0);
result.DocumentTitle.Should().BeEmpty();
result.StartBlockIndex.Should().Be(0);
result.EndBlockIndex.Should().Be(0);
}
}