chore: initial commit
Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace MapperSourceGen.SourceGenerator.Tests;
|
||||
|
||||
public sealed class MapperGeneratorFacts
|
||||
{
|
||||
[Fact]
|
||||
public Task Should_Emit_Dto_And_Mapper()
|
||||
{
|
||||
const string source = """
|
||||
namespace MapperSourceGen.SourceGenerator.Tests;
|
||||
|
||||
[Mapper]
|
||||
partial class MyEntity
|
||||
{
|
||||
public int Id { get; set; }
|
||||
}
|
||||
""";
|
||||
|
||||
return Fixture.VerifyGenerateSourcesAsync(source, new MapperGenerator());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user