コード例 #1
0
 def test_1000_sidem1(self):
     val = soft.lim(self.vals[3], self.limit, side=-1, scale=0.001)
     self.assertEqual(val, self.limit)
コード例 #2
0
 def test_35_side1(self):
     val = soft.lim(self.vals[2], self.limit, side=1, scale=0.001)
     self.assertEqual(val, self.vals[2])