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