Skip to content

Commit 0b00883

Browse files
committed
Closer to required test coverage but not quiet there
1 parent 0d6f218 commit 0b00883

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"fileLength": 1,
3+
"height": 2,
4+
"width": 3
5+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
using AStar.Dev.Infrastructure.FilesDb.Models;
2+
using AStar.Dev.Utilities;
3+
using Shouldly;
4+
5+
namespace AStar.Dev.Infrastructure.FilesDb.Tests.Unit.Models;
6+
7+
public class FileSizeShould
8+
{
9+
[Fact]
10+
public void ContainTheExpectedProperties()
11+
=> FileSize.Create(1, 2, 3)
12+
.ToJson()
13+
.ShouldMatchApproved();
14+
}

0 commit comments

Comments
 (0)