public void Clone_ValidKernel_ShouldSucceed() { SUT.Kernel actual = (SUT.Kernel)TestKernel.InstantiateArbitraryKernel(TestData1_KnownGood).Clone(); Assert.Equal(1, actual.Center); Assert.Equal(3, actual.Dimension); Assert.Equal(TestData1_KnownGood, actual.Contents); }
public void ToString_ValidKernel_ShouldSucceed() { Assert.Equal( "3:1\n1, 2, 3,\n4, 5, 6,\n7, 8, 9", TestKernel.InstantiateArbitraryKernel(TestData1_KnownGood).ToString()); }