public void SurfaceAnalysisDataBySurfaceAndPoints_ValidArgs() { var sad = SurfaceAnalysisData.BySurfaceAndPoints(TestSurface(), TestUvs()); Assert.NotNull(sad); Assert.NotNull(sad.Surface); Assert.NotNull(sad.CalculationLocations); }
public void SurfaceAnalysisDataBySurfaceAndPoints_BadArgs() { Assert.Throws <ArgumentNullException>(() => SurfaceAnalysisData.BySurfaceAndPoints(null, TestUvs())); Assert.Throws <ArgumentNullException>(() => SurfaceAnalysisData.BySurfaceAndPoints(TestSurface(), null)); }