public void CheckBadNotationString5()
 {
     // reference and target cannot be the same piece
     Assert.IsFalse(HiveService.IsValidNotationString(@"bB1 bB1-"));
 }
 public void CheckBadNotationString6()
 {
     // queen must not have a number
     Assert.IsFalse(HiveService.IsValidNotationString(@"bQ1 bB1-"));
 }
 public void CheckBadNotationString3()
 {
     // there is no spider three
     Assert.IsFalse(HiveService.IsValidNotationString("bS3 -bA1"));
 }
 public void CheckBadNotationString4()
 {
     // must have a number
     Assert.IsFalse(HiveService.IsValidNotationString(@"bB bA1-"));
 }
 public void CheckBadNotationString1()
 {
     // cannot be missing a position indicator
     // for non-beetle move
     Assert.IsFalse(HiveService.IsValidNotationString("wA2 bQ"));
 }
 public void CheckBadNotationString2()
 {
     // cannot have two position indicators on target
     Assert.IsFalse(HiveService.IsValidNotationString("wA2 /bQ-"));
 }
 public void CheckValidNotationString7()
 {
     // do not need a postion for beetle move
     Assert.IsTrue(HiveService.IsValidNotationString(@"bB1 bS1"));
 }
 public void CheckValidNotationString8()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"wA1 ."));
 }
 public void CheckValidNotationString5()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"wS2 /bA3"));
 }
예제 #10
0
 public void CheckValidNotationString6()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"bB1 bS1/"));
 }
예제 #11
0
 public void CheckValidNotationString4()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"wB2 -bQ"));
 }
예제 #12
0
 public void CheckValidNotationString3()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"wG1 \wG2"));
 }
예제 #13
0
 public void CheckValidNotationString2()
 {
     Assert.IsTrue(HiveService.IsValidNotationString(@"bQ wQ\"));
 }
예제 #14
0
 public void CheckBadNotationString8()
 {
     // must have color indicator
     Assert.IsFalse(HiveService.IsValidNotationString(@"G1 bB1-"));
     Assert.IsFalse(HiveService.IsValidNotationString(@"wG1 B1-"));
 }
예제 #15
0
 public void CheckBadNotationString7()
 {
     // valid letters only
     Assert.IsFalse(HiveService.IsValidNotationString(@"bJ1 bB1-"));
     Assert.IsFalse(HiveService.IsValidNotationString(@"bB1 bO1-"));
 }