• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""The input file for struct default values test"""
2
3# buildifier: disable=unused-variable
4def check_struct_default_values(
5        struct_no_args = struct(),
6        struct_arg = struct(foo = "bar"),
7        struct_args = struct(foo = "bar", bar = "foo"),
8        struct_int_args = struct(one = 1, two = 2, three = 3),
9        struct_struct_args = struct(
10            none = struct(),
11            one = struct(foo = "bar"),
12            multiple = struct(one = 1, two = 2, three = 3),
13        )):
14    """Checks the default values of structs.
15
16    Args:
17        struct_no_args: struct with no arguments
18        struct_arg: struct with one argument
19        struct_args: struct with multiple arguments
20        struct_int_args: struct with int arguments
21        struct_struct_args: struct with struct arguments
22    """
23    pass
24