コード例 #1
0
 def test_7_plots(self):
     res = plot._squareish(7)
     self.assertEqual(res, (3, 3))
コード例 #2
0
 def test_13_plots(self):
     res = plot._squareish(13)
     self.assertEqual(res, (3, 5))
コード例 #3
0
 def test_6_plots(self):
     res = plot._squareish(6)
     self.assertEqual(res, (3, 2))
コード例 #4
0
 def test_4_plots(self):
     res = plot._squareish(4)
     self.assertEqual(res, (2, 2))
コード例 #5
0
 def test_3_plots(self):
     res = plot._squareish(3)
     self.assertEqual(res, (3, 1))
コード例 #6
0
 def test_2_plots(self):
     res = plot._squareish(2)
     self.assertEqual(res, (2, 1))
コード例 #7
0
 def test_1_plot(self):
     res = plot._squareish(1)
     self.assertEqual(res, (1, 1))