def test_func1(): a = {1: 10.0} b = {2: 42.0, 3: 4} assert_true (basics.func1(a, b)) assert_false(basics.func1(b, a)) # Check that keyword arguments work in any order assert_true (basics.func1(i=a, j=b)) assert_true (basics.func1(j=b, i=a)) assert_false(basics.func1(i=b, j=a)) assert_false(basics.func1(j=a, i=b))
def test_func1(): a = {1: 10.0} b = {2: 42.0, 3: 4} assert_true(basics.func1(a, b)) assert_false(basics.func1(b, a)) # Check that keyword arguments work in any order assert_true(basics.func1(i=a, j=b)) assert_true(basics.func1(j=b, i=a)) assert_false(basics.func1(i=b, j=a)) assert_false(basics.func1(j=a, i=b))
def test_func1(): assert_true(basics.func1({1: 10.0}, {2: 42.0}))