Commit Graph

58 Commits

Author SHA1 Message Date
Starbeamrainbowlabs
6f35ff3313
tests/weaschem: correct tests for parse_id_map 2023-08-18 15:01:17 +01:00
Starbeamrainbowlabs
8048310419
tests/weaschem: write tests for parse_id_map 2023-08-16 02:02:10 +01:00
Starbeamrainbowlabs
2dc1755b5c
tests/weaschem: Finish initial tests for parse_header 2023-08-15 19:25:13 +01:00
Starbeamrainbowlabs
be8e097f1f
tests: grammar 2023-08-15 17:44:19 +01:00
Starbeamrainbowlabs
8d79e6f0ab
tests/weaschem: more tests, but not done w/parse_header yet 2023-08-15 03:24:15 +01:00
Starbeamrainbowlabs
270ec92fee
start with tests for the header parser, but they aren't finished yet 2023-08-15 03:07:30 +01:00
Starbeamrainbowlabs
7e6e61a00b
start basic tests for headers.
We might want to consider a separate distribution that omits all the test files......
2023-08-15 02:59:19 +01:00
Starbeamrainbowlabs
06f90edd46
tests/weaschem: okay, here we go: parse_vector3
Let's go slow, one function at a time, from nuts and bolts gradually up to full files
2023-08-15 00:20:41 +01:00
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