public void SwapsAreCyclic() { for (int k = 2; k <= 10; k++) { IGroup group = new GeneratedGroup(Element.CreateSwap(k)); Assert.IsTrue(GroupUtilities.IsCyclic(group)); } }
public void SymmetricAreNotCyclic() { for (int k = 3; k <= 5; k++) { IGroup group = new SymmetricGroup(k); Assert.IsFalse(GroupUtilities.IsCyclic(group)); } }
public void RotationsAreCyclic() { for (int k = 1; k <= 7; k++) { IGroup group = new GeneratedGroup(Element.CreateRotation(k)); Assert.IsTrue(GroupUtilities.IsCyclic(group)); } }