15 lines
400 B
C#
15 lines
400 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));
|
|
}
|
|
} |