Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
unittest_ex1.py
rfmonk
Sep 9th, 2014
360
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
#! /usr/bin/env python
"""
"""
import
unittest
def
fun
(
x
)
:
return
x +
1
class
MyTest
(
unittest
.
TestCase
)
:
def
test
(
self
)
:
self
.
assertEqual
(
fun
(
3
)
,
4
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Crypto admin access
5 min ago | 0.43 KB
Free Crypto Method
CSS | 6 min ago | 0.72 KB
Documents
25 min ago | 0.43 KB
+12,000$ in 2 days
CSS | 45 min ago | 0.72 KB
remote_execution_from_VSCODE
3 hours ago | 0.92 KB
Notices blood
5 hours ago | 0.81 KB
discord chat view
Python | 10 hours ago | 9.23 KB
systemd-socket-test (AI + Human)
Python | 22 hours ago | 9.34 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!