mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:16:30 +00:00
20 lines
419 B
C#
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)
|
|
];
|
|
}
|
|
} |