Commit Graph

57 Commits

Author SHA1 Message Date
72e6ac9b77 [***]countdown: mock with sequence 2024-09-17 21:30:53 +02:00
56be76b275 countdown: add first mock for sleep 2024-09-17 21:21:07 +02:00
d7840e9cb7 countdown: add basic countdown 2024-09-17 21:11:08 +02:00
5f02a8fbde greet: DI 2024-09-17 16:12:39 +02:00
f573268be9 dict: add delete method 2024-09-17 11:35:22 +02:00
c04a2e1d65 dict: add update method 2024-09-17 11:31:00 +02:00
4be80f4477 dict: deal with re-add 2024-09-17 10:19:25 +02:00
58efd33b20 dict: add Add function and tests 2024-09-17 10:10:07 +02:00
7e713f54de dict: refacto test for error handling 2024-09-17 09:58:41 +02:00
fc67cf14ff dict: deal with unknown keys 2024-09-17 09:55:36 +02:00
baff9ee722 dict: create a type 2024-09-11 15:22:42 +02:00
dd61fb557b dict: refact test 2024-09-11 14:07:00 +02:00
73ab7dc92d dict: add simple search method 2024-09-11 13:48:59 +02:00
4a497b9f93 wallet: add example 2024-09-11 11:49:10 +02:00
82ea599aaa wallet: also assert no error 2024-09-11 11:43:34 +02:00
20606d3ee5 wallet: improve assertError again by creating a custom error type 2024-09-11 11:35:52 +02:00
9a2478f947 wallet: improve assertError function 2024-09-11 11:32:40 +02:00
4be1d0d598 wallet: extract assertError helper function 2024-09-11 11:28:45 +02:00
f6b17eaff3 wallet: check withdraw border cases 2024-09-11 11:26:39 +02:00
8ed0235074 wallet: add withdraw method 2024-09-11 11:22:12 +02:00
36ef78fb92 wallet: implement stringer interface 2024-09-11 11:17:23 +02:00
71bc024fe2 wallet: use self defined type Bitcoin 2024-09-11 11:15:24 +02:00
8644bf547b wallet: add wallet struct and balance funcs 2024-09-11 11:08:53 +02:00
f5ecd40f01 shapes: make table test more readable 2024-09-11 09:23:19 +02:00
47a831ab33 shapes: add Triangle area test 2024-09-11 09:17:21 +02:00
595ed65745 shapes: transform to a table test 2024-09-11 09:14:28 +02:00
d708e70352 shapes: add Shape interface 2024-09-11 09:10:19 +02:00
ff89c50710 shapes: add Circle struct and Area func 2024-09-11 09:06:46 +02:00
d5d910db5a shapes: use Rectangle as receiver 2024-09-11 09:03:57 +02:00
5de98f3ac8 shapes: create a rectangle struct 2024-09-11 08:58:04 +02:00
9381e4c92a shapes: add rectangle perimeter and area funcs 2024-09-11 08:55:19 +02:00
2353543f7d sum: add local test check function 2024-09-10 21:56:18 +02:00
42aaff6c2e sum: add SumAllTails 2024-09-10 21:51:21 +02:00
4bfd9eda4f sum: use slices.Equal 2024-09-10 21:43:55 +02:00
fac93ea9ec sum: use DeepEqual to compare 2024-09-10 21:43:19 +02:00
29215486db sum: use variadic functions 2024-09-10 21:38:18 +02:00
e905c600f3 sum: sumAll 2024-09-10 21:34:27 +02:00
fc419ec3be sum: slice 2024-09-10 21:27:13 +02:00
b427b8fbfb sum: range 2024-09-10 21:16:01 +02:00
5775ea5e50 sum: v1 2024-09-10 21:15:12 +02:00
fb1e5e2835 iteration: Use strings pkg and compare the bench results 2024-09-10 13:39:14 +02:00
75304d4c23 iteration: add repeatTime as an argument 2024-09-10 13:32:46 +02:00
2684521bdd iteration: add example for Repeat function 2024-09-10 13:30:09 +02:00
de5d9f39b6 iteration: add benchmark test 2024-09-10 13:23:32 +02:00
917ce1638f iteration: add simple iteration function 2024-09-10 13:20:33 +02:00
ad9df93776 integers: add doc for Add function 2024-09-10 13:10:08 +02:00
bdef054bb6 integers: add testable examples 2024-09-10 13:09:20 +02:00
effff8ae16 integers: add adder 2024-09-10 13:04:47 +02:00
25ed3404d8 add README 2024-09-10 11:50:36 +02:00
268677b9ad reorgniaze the repo 2024-09-10 11:50:18 +02:00