示例#1
0
        public void SurfaceAnalysisDataBySurfaceAndPoints_ValidArgs()
        {
            var sad = SurfaceAnalysisData.BySurfaceAndPoints(TestSurface(), TestUvs());

            Assert.NotNull(sad);
            Assert.NotNull(sad.Surface);
            Assert.NotNull(sad.CalculationLocations);
        }
示例#2
0
 public void SurfaceAnalysisDataBySurfaceAndPoints_BadArgs()
 {
     Assert.Throws <ArgumentNullException>(() => SurfaceAnalysisData.BySurfaceAndPoints(null, TestUvs()));
     Assert.Throws <ArgumentNullException>(() => SurfaceAnalysisData.BySurfaceAndPoints(TestSurface(), null));
 }