Commit Graph

50 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
66c257c146
split_shell: added some more test cases for unclosed quotes 2023-07-04 20:35:01 +01:00
Starbeamrainbowlabs
78c4a67c7b
split_test: even more tests 2023-07-04 19:09:42 +01:00
Starbeamrainbowlabs
02ad40eaae
split_shell: add automated tests, and fix an obscure bug 2023-07-04 19:04:11 +01:00
Starbeamrainbowlabs
42fb6571da
Vector3.rotate_3d(): write tests 2023-01-20 23:43:20 +00:00
Starbeamrainbowlabs
dfb24e679b
table_apply: write tests 2022-09-24 18:47:13 +01:00
Starbeamrainbowlabs
da9f578e86
table_contains: write tests 2022-09-24 18:42:54 +01:00
Starbeamrainbowlabs
8f03c6473b
test makeset 2022-09-24 13:45:50 +01:00
Starbeamrainbowlabs
bdaedf0e7a
fixup 2022-09-24 13:42:00 +01:00
Starbeamrainbowlabs
bc5dc6b2b4
write tests for parse.map 2022-09-24 03:15:44 +01:00
Starbeamrainbowlabs
c9fd68fac3
fixup 2022-09-24 02:54:36 +01:00
Starbeamrainbowlabs
84226a9909
write tests for parse.chance+seed 2022-09-24 02:51:56 +01:00
Starbeamrainbowlabs
2473c1ce41
Implement Vector3.volume () 2022-09-24 02:33:10 +01:00
Starbeamrainbowlabs
7a688969b2
fix tests 2022-09-19 01:31:47 +01:00
Starbeamrainbowlabs
1ae36d3898
Update tests to wea_c 2022-09-19 01:18:48 +01:00
VorTechnix
74ca84fcee Create axes_parser.test.lua 2022-05-29 17:49:01 -07:00
Starbeamrainbowlabs
70d6f36444
tests/str_starts: fix assert calls 2021-12-31 01:34:41 +00:00
Starbeamrainbowlabs
4597edcf1e
str_ends: write tests 2021-12-31 01:33:44 +00:00
Starbeamrainbowlabs
c030acfd7e
Vector3: add new .clamp() function 2021-12-27 02:18:56 +00:00
Starbeamrainbowlabs
94f675ddce
parse_axes: add mirroring function 2021-11-11 01:47:22 +00:00
Starbeamrainbowlabs
35970b31b3
Implement tests for parse_axes 2021-11-08 00:47:35 +00:00
Starbeamrainbowlabs
4fb59a160f
parse_relative_axis_name: write tests 2021-11-08 00:16:51 +00:00
Starbeamrainbowlabs
be81e6dfaa
parse_abs_axis_name: add tests for multiple axes at a time 2021-11-07 18:06:05 +00:00
Starbeamrainbowlabs
96c3ede365
parse_axes: bugfix, start writing tests 2021-11-07 18:04:18 +00:00
Starbeamrainbowlabs
5d27ba9ccb
Vector3.new: add test to make sure Vector3.new() returns (0, 0, 0) 2021-08-04 21:24:36 +01:00
Starbeamrainbowlabs
c48e9f2ab8
Vector3.min, Vector3.max: allow arguments to be numbers 2021-08-04 21:23:01 +01:00
Starbeamrainbowlabs
e16fa0f5c8
Move luacheck config file to standard location 2021-07-30 21:21:50 +01:00
Starbeamrainbowlabs
ee561cd6e4
//convolve: fix luacheck issue 2021-07-30 19:58:23 +01:00
Starbeamrainbowlabs
3c414f2dbd
Fix more issues discovered by luacheck 2021-07-30 19:52:36 +01:00
Starbeamrainbowlabs
e10dd1ff2e
Luacheck: start drafting config file 2021-07-30 19:03:40 +01:00
Starbeamrainbowlabs
1930b8c64d
tests/new: fix Vector3 tests 2021-07-15 02:19:42 +01:00
Starbeamrainbowlabs
0fef39d707
Vector3: Implement __concat operator overloading
Now you can do this:

local v = wea.Vector3.new(3, 4, 5)
print(v.."yay")
2021-07-15 02:18:21 +01:00
Starbeamrainbowlabs
65c07d59ea
Vector3: add sort, is_contained, expand_region, mean, min, and max 2021-06-26 17:48:39 +01:00
Starbeamrainbowlabs
91b77c981b
Vector3: add abs 2021-06-26 17:06:53 +01:00
Starbeamrainbowlabs
88214aef57
Vector3: add min_component, max_component 2021-06-26 17:02:35 +01:00
Starbeamrainbowlabs
0a3680aa7d
Vector3: add unit / normalise 2021-06-26 16:56:26 +01:00
Starbeamrainbowlabs
112bb96e99
Vector3: add equals, equality operator 2021-06-26 16:28:39 +01:00
Starbeamrainbowlabs
cfa086ce46
Vector3: add dot product 2021-06-26 15:47:53 +01:00
Starbeamrainbowlabs
dc5645cfeb
Vector3: add set_to 2021-06-26 15:43:42 +01:00
Starbeamrainbowlabs
133cae587c
Vector3: add move_towards 2021-06-26 15:39:47 +01:00
Starbeamrainbowlabs
773e6354ad
Vector3: add limit_to 2021-06-26 15:32:47 +01:00
Starbeamrainbowlabs
6d0447a02f
Vector3: add clone 2021-06-26 15:23:16 +01:00
Starbeamrainbowlabs
7549b0eaea
Vector3: add length, length_squared, sqrt 2021-06-26 15:15:32 +01:00
Starbeamrainbowlabs
cde3c3360c
Vector3: add snap_to 2021-06-26 14:44:40 +01:00
Starbeamrainbowlabs
8ae0d92e3d
Vector3/tests: flip assert orderings 2021-06-26 14:40:14 +01:00
Starbeamrainbowlabs
57df2d045f
Vector3: add area 2021-06-26 14:26:40 +01:00
Starbeamrainbowlabs
1e1112c34a
Vector3: Add round 2021-06-26 14:22:26 +01:00
Starbeamrainbowlabs
06e19248c7
Vector3: add floor/ceil 2021-06-26 14:19:18 +01:00
Starbeamrainbowlabs
9d197aefd2
Start implementing vector3.
Currently we have the 4 basic operations down, plus tostring.
2021-06-26 14:10:28 +01:00
Starbeamrainbowlabs
afce954306
Test the rest of the sring polyfills 2021-06-26 02:17:49 +01:00
Starbeamrainbowlabs
6a42aa6838
Set out the basics of automated tests for str_padend 2021-06-26 02:05:01 +01:00