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