diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-09 12:31:46 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-09 12:31:46 +0200 |
| commit | 65cb2d90ff01e310381b0ad84b10e813bc47b08f (patch) | |
| tree | 97e4e65883146726a57aff74ba6bfb855841731c /tests | |
| parent | 9b19888219305c3740f36d9490e08e04e148a413 (diff) | |
Add new snapshot system for odinfmt testing.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/builtin/builtin.odin | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/builtin/builtin.odin b/tests/builtin/builtin.odin deleted file mode 100644 index 009a7eb..0000000 --- a/tests/builtin/builtin.odin +++ /dev/null @@ -1,27 +0,0 @@ -package ols_builtin - -// Procedures -len :: proc(array: Array_Type) -> int --- -cap :: proc(array: Array_Type) -> int --- - -size_of :: proc($T: typeid) -> int --- -align_of :: proc($T: typeid) -> int --- -offset_of :: proc($T: typeid) -> uintptr --- -type_of :: proc(x: expr) -> type --- -type_info_of :: proc($T: typeid) -> ^runtime.Type_Info --- -typeid_of :: proc($T: typeid) -> typeid --- - -swizzle :: proc(x: [N]T, indices: ..int) -> [len(indices)]T --- - -complex :: proc(real, imag: Float) -> Complex_Type --- -quaternion :: proc(real, imag, jmag, kmag: Float) -> Quaternion_Type --- -real :: proc(value: Complex_Or_Quaternion) -> Float --- -imag :: proc(value: Complex_Or_Quaternion) -> Float --- -jmag :: proc(value: Quaternion) -> Float --- -kmag :: proc(value: Quaternion) -> Float --- -conj :: proc(value: Complex_Or_Quaternion) -> Complex_Or_Quaternion --- - -min :: proc(values: ..T) -> T --- -max :: proc(values: ..T) -> T --- -abs :: proc(value: T) -> T --- -clamp :: proc(value, minimum, maximum: T) -> T ---
\ No newline at end of file |