abh - HTMLify profile

abh
501 Files
101960 Views
Latest files of /abh/def/TESTS
TESTCASES = [
{ # test case structure
"positional": ("arguments", "in", "tuples",), # Positional arguments as Tuple
"keyword": {"keyword":"arguments"}, # Keyword arguments as Dictoery
"return": "retuen value", # Expected Return Value
"msg": "sample test case", # Message for Testcase (optinal)
},
{ #fus follow the same structure for every test case
{ # test case structure
"positional": ("arguments", "in", "tuples",), # Positional arguments as Tuple
"keyword": {"keyword":"arguments"}, # Keyword arguments as Dictoery
"return": "retuen value", # Expected Return Value
"msg": "sample test case", # Message for Testcase (optinal)
},
{ #fus follow the same structure for every test case
TESTCCASES = [
{
"positional": ("string", "string",),
"keyword": {},
"return": True,
"msg": "",
},
{
{
"positional": ("string", "string",),
"keyword": {},
"return": True,
"msg": "",
},
{
class Test:
def __init__(self, function):
self.passed = 0
self.failed = 0
self.function = function
def sfill(self, obj, n=0):
if n and n > len(str(obj)):
def __init__(self, function):
self.passed = 0
self.failed = 0
self.function = function
def sfill(self, obj, n=0):
if n and n > len(str(obj)):
TESTCASES = [
{
"positional": (2,),
"keyword": {},
"return": True,
"msg": "",
},
{
{
"positional": (2,),
"keyword": {},
"return": True,
"msg": "",
},
{
TESTCASES = [
{
"positional": ("Hello",),
"keyword": {},
"return": False,
"msg": ""
},
{
{
"positional": ("Hello",),
"keyword": {},
"return": False,
"msg": ""
},
{
TESTCASES = [
{
"positional": ("H",),
"keyword": {},
"return": True,
"msg": ""
},
{
{
"positional": ("H",),
"keyword": {},
"return": True,
"msg": ""
},
{
TESTCASES = [
{
"positional": (2,),
"keyword": {},
"return": False,
"msg": "",
},
{
{
"positional": (2,),
"keyword": {},
"return": False,
"msg": "",
},
{