Files
annotations/Azaion.Annotator.Test/DictTest.cs
T
2024-07-16 14:06:05 +03:00

20 lines
419 B
C#

using Azaion.Annotator.DTO;
using Xunit;
namespace Azaion.Annotator.Test;
public class DictTest
{
public Dictionary<string, List<YoloLabel>> Annotations = new();
[Fact]
public void DictAddTest()
{
Annotations["sd"] = [new YoloLabel(1, 2, 2, 2, 2)];
Annotations["sd"] =
[
new YoloLabel(1, 2, 2, 2, 2),
new YoloLabel(0, 1, 3, 2, 1)
];
}
}