Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
python
/
testData
/
testRunner
/
env
/
unit
/
test_file.py
blob: 9b2ed1629eb48f1a640fe73272958e2fe37b39aa [
file
] [
log
] [
blame
]
import
unittest
class
GoodTest
(
unittest
.
TestCase
):
def
test_passes
(
self
):
self
.
assertEqual
(
2
+
2
,
4
)
class
BadTest
(
unittest
.
TestCase
):
def
test_fails
(
self
):
self
.
assertEqual
(
2
+
2
,
5
)
if
__name__
==
'__main__'
:
unittest
.
main
()