def test9(self):
     a = ZumaGame488.Solution()
     inp = ("RRWWRRW", "R")
     self.assertEqual(a.findMinStep(*inp), -1)
 def test7(self):
     a = ZumaGame488.Solution()
     inp = ("G", "GGGGG")
     self.assertEqual(a.findMinStep(*inp), 2)
 def test8(self):
     a = ZumaGame488.Solution()
     inp = ("RBYYBBRRB", "YRBGB")
     self.assertEqual(a.findMinStep(*inp), 3)
 def test6(self):
     a = ZumaGame488.Solution()
     inp = ("WWRRBBWW", "WRBRW")
     self.assertEqual(a.findMinStep(*inp), 2)
 def test5(self):
     a = ZumaGame488.Solution()
     inp = ("WRRBBW", "RB")
     self.assertEqual(a.findMinStep(*inp), -1)
 def test2(self):
     a = ZumaGame488.Solution()
     inp = ("WWGWGW", "GWBWR")
     self.assertEqual(a.findMinStep(*inp), 3)
 def test1(self):
     a = ZumaGame488.Solution()
     inp = ("RGGBYRRYWWYYBBGRGG", "RRYWG")
     self.assertEqual(a.findMinStep(*inp), 4)
 def test0(self):
     a = ZumaGame488.Solution()
     inp = ("BBYBBYYWYGGYWWRB", "YGRBR")
     self.assertEqual(a.findMinStep(*inp), 5)