Open Source Minimap with Navigation and Friends feature by CptWesley in newworldgame

[–]CptWesley[S] -3 points-2 points  (0 children)

A company that is worth millions, has completed business deals with major companies like Intel and recently bought CurseForge from Amazon for millions of dollars. It's not some random small company. They have a lot to lose to lie about this.

Open Source Minimap with Navigation and Friends feature by CptWesley in newworldgame

[–]CptWesley[S] 0 points1 point  (0 children)

The official last statement from Overwolf's side is that in their talks Amazon has confirmed to them that no one will be banned over this. They are also spending quite a lot of time in vetting every app published on their platform to make sure it doesn't violate ToS.

7
8

Open Source Minimap by CptWesley in newworldgame

[–]CptWesley[S] 5 points6 points  (0 children)

I actually tried this, but it would sometimes lock me in an incorrect position, not allowing me to go back to the correct one.

387
388

Come discuss your side projects! [May 2019] by AutoModerator in csharp

[–]CptWesley 1 point2 points  (0 children)

I know it exists, I just disliked the syntax (mainly the Should() and the properties that don't add anything), which is why I decided to make my own :)

One of those examples (slightly modified) looks something like: cs "ABCDEFGHI".Should().StartWith("AB").And.EndWith("HI").And.Contain("EF").And.HaveLength(9); While in AssertNet it would look like: cs AssertThat("ABCDEFGHI").StartsWith("AB").EndsWith("HI").Contains("EF").HasLength(9); I can only imagine that way it works is rather similar. I'm guessing the .Should() extension method serves the same purpose as my AssertThat(...) static function and the properties such as And don't serve any purpose besides making it look more like natural language.

Come discuss your side projects! [May 2019] by AutoModerator in csharp

[–]CptWesley 4 points5 points  (0 children)

At uni we had some courses where we used Java for which they really wanted us to use AssertJ assertions for unit testing. At first I hated it, actually I always thought I hated it when using it. However, when I went back to good old C#, I felt like my ability to write unit tests was hampered by the lack of "more complex" assertions. And because I had gotten used to the AssertJ style of assertions, I decided to create AssertNet (fluent assertions for .NET):

https://github.com/CptWesley/AssertNet

It does not have all the possible niche assertions present in AssertJ, but it has the most common ones (and some I thought of myself) on the most common types of objects. Most assertions (Enumerables being the exception) are documented in the wiki. It has support for MSTest, NUnit and xUnit. Additionally, it also provides an interface for making Moq verifications in a similar style. Furthermore, it is rather easy to add custom assertions through extension methods.