19 lines
440 B
C#
19 lines
440 B
C#
using FluentAssertions;
|
|
using Speckle.InterfaceGenerator.Tests.Partial;
|
|
using Xunit;
|
|
|
|
namespace Speckle.InterfaceGenerator.Tests;
|
|
|
|
public class PartialClassTests
|
|
{
|
|
[Fact]
|
|
public void GeneratesMethodFromOtherParts()
|
|
{
|
|
var tInterface = typeof(IPartialClass);
|
|
tInterface
|
|
.GetMethods()
|
|
.Should()
|
|
.Contain(x => x.Name == nameof(PartialClass.SomeMethodThatShouldGenerate));
|
|
}
|
|
}
|