🚧 WIP on #39
parent
894d016bfc
commit
0c00308129
@ -1,23 +0,0 @@
|
|||||||
using cat_cafe.Entities;
|
|
||||||
|
|
||||||
namespace Tests
|
|
||||||
{
|
|
||||||
public class UnitTest1
|
|
||||||
{
|
|
||||||
[Fact]
|
|
||||||
public void Test1()
|
|
||||||
{
|
|
||||||
String name = "Margot";
|
|
||||||
int id = 1337;
|
|
||||||
|
|
||||||
Cat cat = new()
|
|
||||||
{
|
|
||||||
Id = id,
|
|
||||||
Name = name
|
|
||||||
};
|
|
||||||
|
|
||||||
Assert.Equal(name, cat.Name);
|
|
||||||
Assert.Equal(id, cat.Id);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
global using Xunit;
|
global using Microsoft.VisualStudio.TestTools.UnitTesting;
|
Loading…
Reference in new issue