Esempio n. 1
0
 def test_writes_C_and_A_in_the_same_row_and_1st_and_2nd_column(self):
     self.assertEquals("A\nC", ascii_art("0 0 65\n0 1 67"))
Esempio n. 2
0
 def test_writes_C_in_the_second_row_11th_column(self):
     self.assertEquals("\n          C", ascii_art("1 10 67"))
Esempio n. 3
0
 def test_writes_A_and_D_in_the_first_column_and_in_two_lines(self):
     self.assertEquals("A\nD", ascii_art("0 0 65\n1 0 68"))
Esempio n. 4
0
 def test_writes_B_in_the_second_column(self):
     self.assertEquals(" B", ascii_art("0 1 66"))
Esempio n. 5
0
 def test_writes_B_in_the_11th_column(self):
     self.assertEquals("          B", ascii_art("0 10 66"))
Esempio n. 6
0
 def test_writes_A_in_the_second_column(self):
     self.assertEquals(' A', ascii_art('0 1 65'))
Esempio n. 7
0
 def test_writes_A_in_the_second_column(self):
     self.assertEquals(" A", ascii_art("0 1 65"))
Esempio n. 8
0
 def test_writes_A_in_the_left_top(self):
     self.assertEquals('A', ascii_art('0 0 65'))
Esempio n. 9
0
 def test_writes_B_in_the_left_top(self):
     self.assertEquals('B', ascii_art('0 0 66'))
Esempio n. 10
0
 def test_writes_A_and_D_in_the_first_column_and_in_two_lines(self):
     self.assertEquals('A\nD', ascii_art('0 0 65\n1 0 68'))
Esempio n. 11
0
 def test_writes_C_and_A_in_the_same_row_and_1st_and_2nd_column(self):
     self.assertEquals('A\nC', ascii_art('0 0 65\n0 1 67'))
Esempio n. 12
0
 def test_writes_C_in_the_second_row_11th_column(self):
     self.assertEquals('\n          C', ascii_art('1 10 67'))
Esempio n. 13
0
 def test_writes_B_in_the_11th_column(self):
     self.assertEquals('          B', ascii_art('0 10 66'))
Esempio n. 14
0
 def test_writes_B_in_the_second_column(self):
     self.assertEquals(' B', ascii_art('0 1 66'))
Esempio n. 15
0
 def test_writes_A_in_the_left_top(self):
     self.assertEquals("A", ascii_art("0 0 65"))
Esempio n. 16
0
 def test_writes_D_in_the_left_top(self):
     self.assertEquals("D", ascii_art("0 0 68"))
Esempio n. 17
0
 def test_writes_B_in_the_left_top(self):
     self.assertEquals("B", ascii_art("0 0 66"))
Esempio n. 18
0
 def test_writes_D_in_the_left_top(self):
     self.assertEquals('D', ascii_art('0 0 68'))