Fix build and code structure improvements. New but essential UI functionality. CI improvements. Documentation improvements. AI module improvements.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using FsCheck;
|
||||
using FsCheck.Fluent;
|
||||
using FsCheck.Xunit;
|
||||
using StellaOps.Scanner.Reachability;
|
||||
using StellaOps.Scanner.Reachability.Ordering;
|
||||
@@ -226,7 +227,7 @@ public class ReachabilityGraphPropertyTests
|
||||
{
|
||||
return Prop.ForAll(
|
||||
GraphArb(),
|
||||
Gen.Elements("Z1", "Z2", "Z3", "ZNew").ToArbitrary(),
|
||||
Gen.Elements<string>("Z1", "Z2", "Z3", "ZNew").ToArbitrary(),
|
||||
(graph, newNodeId) =>
|
||||
{
|
||||
// Skip if node already exists
|
||||
@@ -372,7 +373,7 @@ public class ReachabilityGraphPropertyTests
|
||||
|
||||
private static Arbitrary<RichGraph> GraphArb()
|
||||
{
|
||||
var nodeIdsGen = Gen.ListOf(Gen.Elements("A", "B", "C", "D", "E", "F", "G", "H"))
|
||||
var nodeIdsGen = Gen.ListOf(Gen.Elements<string>("A", "B", "C", "D", "E", "F", "G", "H"))
|
||||
.Select(ids => ids.Distinct().ToList());
|
||||
|
||||
return (from nodeIds in nodeIdsGen
|
||||
@@ -387,7 +388,7 @@ public class ReachabilityGraphPropertyTests
|
||||
|
||||
private static Arbitrary<RichGraph> GraphWithRootsArb()
|
||||
{
|
||||
var nodeIdsGen = Gen.ListOf(Gen.Elements("A", "B", "C", "D", "E"))
|
||||
var nodeIdsGen = Gen.ListOf(Gen.Elements<string>("A", "B", "C", "D", "E"))
|
||||
.Select(ids => ids.Distinct().ToList());
|
||||
|
||||
return (from nodeIds in nodeIdsGen
|
||||
@@ -404,7 +405,7 @@ public class ReachabilityGraphPropertyTests
|
||||
|
||||
private static Arbitrary<RichGraph> CyclicGraphArb()
|
||||
{
|
||||
return Gen.Elements(
|
||||
return Gen.Elements<RichGraph>(
|
||||
CreateCyclicGraph("A", "B"),
|
||||
CreateCyclicGraph("A", "B", "C"),
|
||||
CreateCyclicGraph("A", "B", "C", "D")).ToArbitrary();
|
||||
|
||||
Reference in New Issue
Block a user