コード例 #1
0
 def test_issue71(self):
     R = QQ['x,y']
     x, y = R.gens()
     f = -x**5 + x + y**3
     s = singular_points_infinite(f)
     s_actual = [(0, 1, 0)]
     self.assertEqual(s, s_actual)
コード例 #2
0
 def test_issue71(self):
     R = QQ['x,y']
     x,y = R.gens()
     f = -x**5 + x + y**3
     s = singular_points_infinite(f)
     s_actual = [(0,1,0)]
     self.assertEqual(s,s_actual)
コード例 #3
0
 def test_f3(self):
     s = singular_points_infinite(self.f3)
     s_actual = []
     self.assertEqual(s, s_actual)
コード例 #4
0
 def test_f2(self):
     s = singular_points_infinite(self.f2)
     s_actual = [(0, 1, 0)]
     self.assertEqual(s, s_actual)
コード例 #5
0
 def test_f10(self):
     s = singular_points_infinite(self.f10)
     s_actual = [(1, 0, 0), (0, 1, 0)]
     self.assertEqual(s, s_actual)
コード例 #6
0
 def test_f3(self):
     s = singular_points_infinite(self.f3)
     s_actual = []
     self.assertEqual(s,s_actual)
コード例 #7
0
 def test_f2(self):
     s = singular_points_infinite(self.f2)
     s_actual = [(0,1,0)]
     self.assertEqual(s,s_actual)
コード例 #8
0
 def test_f10(self):
     s = singular_points_infinite(self.f10)
     s_actual = [(1,0,0),(0,1,0)]
     self.assertEqual(s,s_actual)