You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
824 B

"""The input file for struct default values test"""
# buildifier: disable=unused-variable
def check_struct_default_values(
struct_no_args = struct(),
struct_arg = struct(foo = "bar"),
struct_args = struct(foo = "bar", bar = "foo"),
struct_int_args = struct(one = 1, two = 2, three = 3),
struct_struct_args = struct(
none = struct(),
one = struct(foo = "bar"),
multiple = struct(one = 1, two = 2, three = 3),
)):
"""Checks the default values of structs.
Args:
struct_no_args: struct with no arguments
struct_arg: struct with one argument
struct_args: struct with multiple arguments
struct_int_args: struct with int arguments
struct_struct_args: struct with struct arguments
"""
pass