#!/usr/bin/python
# -*-coding:utf-8-*-
"""
@author__ = 'kaerser'
@time:2016/7/16 15:04
"""

import unittest
from lesson1.demo1 import sigmod


class MyTestCase(unittest.TestCase):
	# def test_something(self):
	# 	self.assertEqual(True, False)

	def test_add(self):
		y=sigmod(100)
		self.assertEqual(y, 1, 'Check Failed!')


if __name__ == '__main__':
	unittest.main()

5cce4e0e03f59fe2b175599d2b9ce097eeec4dfb
<mask token>


class MyTestCase(unittest.TestCase):
    <mask token>


<mask token>

<mask token>


class MyTestCase(unittest.TestCase):

    def test_add(self):
        y = sigmod(100)
        self.assertEqual(y, 1, 'Check Failed!')


<mask token>

<mask token>


class MyTestCase(unittest.TestCase):

    def test_add(self):
        y = sigmod(100)
        self.assertEqual(y, 1, 'Check Failed!')


if __name__ == '__main__':
    unittest.main()

<mask token>
import unittest
from lesson1.demo1 import sigmod


class MyTestCase(unittest.TestCase):

    def test_add(self):
        y = sigmod(100)
        self.assertEqual(y, 1, 'Check Failed!')


if __name__ == '__main__':
    unittest.main()

#!/usr/bin/python
# -*-coding:utf-8-*-
"""
@author__ = 'kaerser'
@time:2016/7/16 15:04
"""

import unittest
from lesson1.demo1 import sigmod


class MyTestCase(unittest.TestCase):
	# def test_something(self):
	# 	self.assertEqual(True, False)

	def test_add(self):
		y=sigmod(100)
		self.assertEqual(y, 1, 'Check Failed!')


if __name__ == '__main__':
	unittest.main()
