Skip to main content

nanvm_harness/gen.expected/
mod.rs

1// @generated by `fjs run ./fjs/nanvm/harness/module.f.mjs`. Do not edit: add or remove a fixture instead.
2
3pub mod arguments;
4pub mod arity;
5pub mod array;
6pub mod array_methods;
7pub mod at;
8pub mod bigint;
9pub mod bigint_mixed;
10pub mod bigint_operators;
11pub mod boolean;
12pub mod call;
13pub mod callbacks;
14pub mod calls;
15pub mod closure;
16pub mod closure_identity;
17pub mod closure_throws;
18pub mod entry;
19pub mod escapes;
20pub mod function_scope;
21pub mod guarded_calls;
22pub mod intrinsic;
23pub mod intrinsic_throws;
24pub mod lazy;
25pub mod length;
26pub mod method;
27pub mod missing;
28pub mod mixed_if;
29pub mod named;
30pub mod named_imports;
31pub mod named_imports_throws;
32pub mod nested;
33pub mod normal_if;
34pub mod not_a_function;
35pub mod nullish;
36pub mod number;
37pub mod number_limits;
38pub mod number_methods;
39pub mod number_predicates;
40pub mod object;
41pub mod object_entries;
42pub mod object_entries_throws;
43pub mod object_from_entries;
44pub mod object_from_entries_not_array_throws;
45pub mod object_from_entries_throws;
46pub mod object_is;
47pub mod object_spread;
48pub mod operators;
49pub mod optional;
50pub mod owning_self_tail_calls;
51pub mod parameters;
52pub mod property;
53pub mod recursion;
54pub mod rest;
55pub mod sharing;
56pub mod special_numbers;
57pub mod spread;
58pub mod string;
59pub mod string_from_char_code;
60pub mod string_from_char_code_coercion_throws;
61pub mod string_from_char_code_throws;
62pub mod string_methods;
63pub mod throw;
64pub mod throws;
65pub mod to_string;
66pub mod while_loop;
67
68use nanvm_lib::naive::Naive;
69
70/// Every corpus fixture with its expectation.
71#[rustfmt::skip]
72pub const CASES: &[crate::Case] = &[
73    crate::Case { name: "arguments", fixture: crate::fixtures::arguments::module::<Naive>, expected: arguments::module::<Naive>, json: arguments::JSON, throws: arguments::THROWS },
74    crate::Case { name: "arity", fixture: crate::fixtures::arity::module::<Naive>, expected: arity::module::<Naive>, json: arity::JSON, throws: arity::THROWS },
75    crate::Case { name: "array", fixture: crate::fixtures::array::module::<Naive>, expected: array::module::<Naive>, json: array::JSON, throws: array::THROWS },
76    crate::Case { name: "array_methods", fixture: crate::fixtures::array_methods::module::<Naive>, expected: array_methods::module::<Naive>, json: array_methods::JSON, throws: array_methods::THROWS },
77    crate::Case { name: "at", fixture: crate::fixtures::at::module::<Naive>, expected: at::module::<Naive>, json: at::JSON, throws: at::THROWS },
78    crate::Case { name: "bigint", fixture: crate::fixtures::bigint::module::<Naive>, expected: bigint::module::<Naive>, json: bigint::JSON, throws: bigint::THROWS },
79    crate::Case { name: "bigint_mixed", fixture: crate::fixtures::bigint_mixed::module::<Naive>, expected: bigint_mixed::module::<Naive>, json: bigint_mixed::JSON, throws: bigint_mixed::THROWS },
80    crate::Case { name: "bigint_operators", fixture: crate::fixtures::bigint_operators::module::<Naive>, expected: bigint_operators::module::<Naive>, json: bigint_operators::JSON, throws: bigint_operators::THROWS },
81    crate::Case { name: "boolean", fixture: crate::fixtures::boolean::module::<Naive>, expected: boolean::module::<Naive>, json: boolean::JSON, throws: boolean::THROWS },
82    crate::Case { name: "call", fixture: crate::fixtures::call::module::<Naive>, expected: call::module::<Naive>, json: call::JSON, throws: call::THROWS },
83    crate::Case { name: "callbacks", fixture: crate::fixtures::callbacks::module::<Naive>, expected: callbacks::module::<Naive>, json: callbacks::JSON, throws: callbacks::THROWS },
84    crate::Case { name: "calls", fixture: crate::fixtures::calls::module::<Naive>, expected: calls::module::<Naive>, json: calls::JSON, throws: calls::THROWS },
85    crate::Case { name: "closure", fixture: crate::fixtures::closure::module::<Naive>, expected: closure::module::<Naive>, json: closure::JSON, throws: closure::THROWS },
86    crate::Case { name: "closure_identity", fixture: crate::fixtures::closure_identity::module::<Naive>, expected: closure_identity::module::<Naive>, json: closure_identity::JSON, throws: closure_identity::THROWS },
87    crate::Case { name: "closure_throws", fixture: crate::fixtures::closure_throws::module::<Naive>, expected: closure_throws::module::<Naive>, json: closure_throws::JSON, throws: closure_throws::THROWS },
88    crate::Case { name: "entry", fixture: crate::fixtures::entry::module::<Naive>, expected: entry::module::<Naive>, json: entry::JSON, throws: entry::THROWS },
89    crate::Case { name: "escapes", fixture: crate::fixtures::escapes::module::<Naive>, expected: escapes::module::<Naive>, json: escapes::JSON, throws: escapes::THROWS },
90    crate::Case { name: "function_scope", fixture: crate::fixtures::function_scope::module::<Naive>, expected: function_scope::module::<Naive>, json: function_scope::JSON, throws: function_scope::THROWS },
91    crate::Case { name: "guarded_calls", fixture: crate::fixtures::guarded_calls::module::<Naive>, expected: guarded_calls::module::<Naive>, json: guarded_calls::JSON, throws: guarded_calls::THROWS },
92    crate::Case { name: "intrinsic", fixture: crate::fixtures::intrinsic::module::<Naive>, expected: intrinsic::module::<Naive>, json: intrinsic::JSON, throws: intrinsic::THROWS },
93    crate::Case { name: "intrinsic_throws", fixture: crate::fixtures::intrinsic_throws::module::<Naive>, expected: intrinsic_throws::module::<Naive>, json: intrinsic_throws::JSON, throws: intrinsic_throws::THROWS },
94    crate::Case { name: "lazy", fixture: crate::fixtures::lazy::module::<Naive>, expected: lazy::module::<Naive>, json: lazy::JSON, throws: lazy::THROWS },
95    crate::Case { name: "length", fixture: crate::fixtures::length::module::<Naive>, expected: length::module::<Naive>, json: length::JSON, throws: length::THROWS },
96    crate::Case { name: "method", fixture: crate::fixtures::method::module::<Naive>, expected: method::module::<Naive>, json: method::JSON, throws: method::THROWS },
97    crate::Case { name: "missing", fixture: crate::fixtures::missing::module::<Naive>, expected: missing::module::<Naive>, json: missing::JSON, throws: missing::THROWS },
98    crate::Case { name: "mixed_if", fixture: crate::fixtures::mixed_if::module::<Naive>, expected: mixed_if::module::<Naive>, json: mixed_if::JSON, throws: mixed_if::THROWS },
99    crate::Case { name: "named", fixture: crate::fixtures::named::module::<Naive>, expected: named::module::<Naive>, json: named::JSON, throws: named::THROWS },
100    crate::Case { name: "named_imports", fixture: crate::fixtures::named_imports::module::<Naive>, expected: named_imports::module::<Naive>, json: named_imports::JSON, throws: named_imports::THROWS },
101    crate::Case { name: "named_imports_throws", fixture: crate::fixtures::named_imports_throws::module::<Naive>, expected: named_imports_throws::module::<Naive>, json: named_imports_throws::JSON, throws: named_imports_throws::THROWS },
102    crate::Case { name: "nested", fixture: crate::fixtures::nested::module::<Naive>, expected: nested::module::<Naive>, json: nested::JSON, throws: nested::THROWS },
103    crate::Case { name: "normal_if", fixture: crate::fixtures::normal_if::module::<Naive>, expected: normal_if::module::<Naive>, json: normal_if::JSON, throws: normal_if::THROWS },
104    crate::Case { name: "not_a_function", fixture: crate::fixtures::not_a_function::module::<Naive>, expected: not_a_function::module::<Naive>, json: not_a_function::JSON, throws: not_a_function::THROWS },
105    crate::Case { name: "nullish", fixture: crate::fixtures::nullish::module::<Naive>, expected: nullish::module::<Naive>, json: nullish::JSON, throws: nullish::THROWS },
106    crate::Case { name: "number", fixture: crate::fixtures::number::module::<Naive>, expected: number::module::<Naive>, json: number::JSON, throws: number::THROWS },
107    crate::Case { name: "number_limits", fixture: crate::fixtures::number_limits::module::<Naive>, expected: number_limits::module::<Naive>, json: number_limits::JSON, throws: number_limits::THROWS },
108    crate::Case { name: "number_methods", fixture: crate::fixtures::number_methods::module::<Naive>, expected: number_methods::module::<Naive>, json: number_methods::JSON, throws: number_methods::THROWS },
109    crate::Case { name: "number_predicates", fixture: crate::fixtures::number_predicates::module::<Naive>, expected: number_predicates::module::<Naive>, json: number_predicates::JSON, throws: number_predicates::THROWS },
110    crate::Case { name: "object", fixture: crate::fixtures::object::module::<Naive>, expected: object::module::<Naive>, json: object::JSON, throws: object::THROWS },
111    crate::Case { name: "object_entries", fixture: crate::fixtures::object_entries::module::<Naive>, expected: object_entries::module::<Naive>, json: object_entries::JSON, throws: object_entries::THROWS },
112    crate::Case { name: "object_entries_throws", fixture: crate::fixtures::object_entries_throws::module::<Naive>, expected: object_entries_throws::module::<Naive>, json: object_entries_throws::JSON, throws: object_entries_throws::THROWS },
113    crate::Case { name: "object_from_entries", fixture: crate::fixtures::object_from_entries::module::<Naive>, expected: object_from_entries::module::<Naive>, json: object_from_entries::JSON, throws: object_from_entries::THROWS },
114    crate::Case { name: "object_from_entries_not_array_throws", fixture: crate::fixtures::object_from_entries_not_array_throws::module::<Naive>, expected: object_from_entries_not_array_throws::module::<Naive>, json: object_from_entries_not_array_throws::JSON, throws: object_from_entries_not_array_throws::THROWS },
115    crate::Case { name: "object_from_entries_throws", fixture: crate::fixtures::object_from_entries_throws::module::<Naive>, expected: object_from_entries_throws::module::<Naive>, json: object_from_entries_throws::JSON, throws: object_from_entries_throws::THROWS },
116    crate::Case { name: "object_is", fixture: crate::fixtures::object_is::module::<Naive>, expected: object_is::module::<Naive>, json: object_is::JSON, throws: object_is::THROWS },
117    crate::Case { name: "object_spread", fixture: crate::fixtures::object_spread::module::<Naive>, expected: object_spread::module::<Naive>, json: object_spread::JSON, throws: object_spread::THROWS },
118    crate::Case { name: "operators", fixture: crate::fixtures::operators::module::<Naive>, expected: operators::module::<Naive>, json: operators::JSON, throws: operators::THROWS },
119    crate::Case { name: "optional", fixture: crate::fixtures::optional::module::<Naive>, expected: optional::module::<Naive>, json: optional::JSON, throws: optional::THROWS },
120    crate::Case { name: "owning_self_tail_calls", fixture: crate::fixtures::owning_self_tail_calls::module::<Naive>, expected: owning_self_tail_calls::module::<Naive>, json: owning_self_tail_calls::JSON, throws: owning_self_tail_calls::THROWS },
121    crate::Case { name: "parameters", fixture: crate::fixtures::parameters::module::<Naive>, expected: parameters::module::<Naive>, json: parameters::JSON, throws: parameters::THROWS },
122    crate::Case { name: "property", fixture: crate::fixtures::property::module::<Naive>, expected: property::module::<Naive>, json: property::JSON, throws: property::THROWS },
123    crate::Case { name: "recursion", fixture: crate::fixtures::recursion::module::<Naive>, expected: recursion::module::<Naive>, json: recursion::JSON, throws: recursion::THROWS },
124    crate::Case { name: "rest", fixture: crate::fixtures::rest::module::<Naive>, expected: rest::module::<Naive>, json: rest::JSON, throws: rest::THROWS },
125    crate::Case { name: "sharing", fixture: crate::fixtures::sharing::module::<Naive>, expected: sharing::module::<Naive>, json: sharing::JSON, throws: sharing::THROWS },
126    crate::Case { name: "special_numbers", fixture: crate::fixtures::special_numbers::module::<Naive>, expected: special_numbers::module::<Naive>, json: special_numbers::JSON, throws: special_numbers::THROWS },
127    crate::Case { name: "spread", fixture: crate::fixtures::spread::module::<Naive>, expected: spread::module::<Naive>, json: spread::JSON, throws: spread::THROWS },
128    crate::Case { name: "string", fixture: crate::fixtures::string::module::<Naive>, expected: string::module::<Naive>, json: string::JSON, throws: string::THROWS },
129    crate::Case { name: "string_from_char_code", fixture: crate::fixtures::string_from_char_code::module::<Naive>, expected: string_from_char_code::module::<Naive>, json: string_from_char_code::JSON, throws: string_from_char_code::THROWS },
130    crate::Case { name: "string_from_char_code_coercion_throws", fixture: crate::fixtures::string_from_char_code_coercion_throws::module::<Naive>, expected: string_from_char_code_coercion_throws::module::<Naive>, json: string_from_char_code_coercion_throws::JSON, throws: string_from_char_code_coercion_throws::THROWS },
131    crate::Case { name: "string_from_char_code_throws", fixture: crate::fixtures::string_from_char_code_throws::module::<Naive>, expected: string_from_char_code_throws::module::<Naive>, json: string_from_char_code_throws::JSON, throws: string_from_char_code_throws::THROWS },
132    crate::Case { name: "string_methods", fixture: crate::fixtures::string_methods::module::<Naive>, expected: string_methods::module::<Naive>, json: string_methods::JSON, throws: string_methods::THROWS },
133    crate::Case { name: "throw", fixture: crate::fixtures::throw::module::<Naive>, expected: throw::module::<Naive>, json: throw::JSON, throws: throw::THROWS },
134    crate::Case { name: "throws", fixture: crate::fixtures::throws::module::<Naive>, expected: throws::module::<Naive>, json: throws::JSON, throws: throws::THROWS },
135    crate::Case { name: "to_string", fixture: crate::fixtures::to_string::module::<Naive>, expected: to_string::module::<Naive>, json: to_string::JSON, throws: to_string::THROWS },
136    crate::Case { name: "while_loop", fixture: crate::fixtures::while_loop::module::<Naive>, expected: while_loop::module::<Naive>, json: while_loop::JSON, throws: while_loop::THROWS },
137];