Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')
def test_num2col(self):
self.assertEqual(num2columnletters(1), 'A')
self.assertEqual(num2columnletters(26), 'Z')
self.assertEqual(num2columnletters(27), 'AA')
self.assertEqual(num2columnletters(53), 'BA')
self.assertEqual(num2columnletters(667), 'YQ')
self.assertEqual(num2columnletters(702), 'ZZ')
self.assertEqual(num2columnletters(703), 'AAA')
self.assertEqual(num2columnletters(11496), 'PZD')
self.assertEqual(num2columnletters(11685), 'QGK')
self.assertEqual(num2columnletters(16384), 'XFD')