🚧 WIP on #39
parent
f18c14c0ec
commit
d844a8ee08
@ -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