public void DrawTest() { var canvas = new Canvas { Width = 200, Height = 200 }; var collective = new BlobCollective(1.0, 1.0, 4); collective.Draw(canvas, 100.0); var wpf = new ContentControl { Content = canvas }; WpfApprovals.Verify(wpf); }
public void SplitTest() { var canvas = new Canvas { Width = 200, Height = 200 }; var collective = new BlobCollective(1.0, 1.0, 4); collective.Split(); Assert.AreEqual(2, collective.NumActive); collective.Draw(canvas, 100.0); var wpf = new ContentControl { Content = canvas }; WpfApprovals.Verify(wpf); }