Hacker News new | ask | show | jobs
by hpaavola 1839 days ago
test.robot

    *** Settings ***
    Library    calc.py


    *** Test Cases ***
    My First Library
        ${sum}    Plus    1    2
        Should Be Equal As Integers    ${sum}    3
calc.py

    def plus(a: float, b: float):
        return a + b
No manual casting, no extra directories, no complicated sharing of functions.