def dead_cell_still_dead_due_to_more_than_three_neighbours_test(self):
     self.current_cell_value = 0
     self.alive_neighbour_count = 4
     self.end_state = process_rules(self.current_cell_value, self.alive_neighbour_count)
     self.assertEqual(self.end_state, 0)
 def alive_cell_still_alive_due_to_two_neighbours_test(self):
     self.current_cell_value = 1
     self.alive_neighbour_count = 2
     self.end_state = process_rules(self.current_cell_value, self.alive_neighbour_count)
     self.assertEqual(self.end_state, 1)
 def dead_cell_born_test(self):
     self.current_cell_value = 0
     self.alive_neighbour_count = 3
     self.end_state = process_rules(self.current_cell_value, self.alive_neighbour_count)
     self.assertEqual(self.end_state, 1)