Skip to content

Функция рисования таблицы #9

@Former

Description

@Former
def CreateHTMLTable(getValueFunc, width, height):
     return "<table><tr><td>" + getValueFunc(0, 0) + "</td></tr></table>"

def TestCreateHTMLTable():
     def TestGetValue(x, y):
          return " "
     assert CreateHTMLTable(TestGetValue,1,1) == "<table><tr><td> </td></tr></table>"

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions