コード例 #1
0
 public void NetzplanMatrixGross()
 {
     var generator = new MatrixNetzplanGenerator(6, 6);
     var netzplan = generator.BerechneNetzplan();
     var expectedNumberOfPaths = 910480;
     this.AssertPathSearchOutcome(netzplan, "A0", "C2", expectedNumberOfPaths);
 }
コード例 #2
0
 public void NetzplanMatrixMittel()
 {
     var generator = new MatrixNetzplanGenerator(5, 5);
     var netzplan = generator.BerechneNetzplan();
     var expectedNumberOfPaths = 6762;
     this.AssertPathSearchOutcome(netzplan, "A0", "C2", expectedNumberOfPaths);
 }
コード例 #3
0
 public void MatrixNetzplanTest2()
 {
     var generator = new MatrixNetzplanGenerator(5, 5);
     var netzplan = generator.BerechneNetzplan();
     var dot = this.GenerateDot(netzplan);
     Assert.IsTrue(true);
 }