public void Skew_Tests() { var point = new Point(2, 3, 4); (Matrix4X4.CreateSkew(1, 0, 0, 0, 0, 0) * point) .ShouldBe(new Point(5, 3, 4)); (Matrix4X4.CreateSkew(0, 1, 0, 0, 0, 0) * point) .ShouldBe(new Point(6, 3, 4)); (Matrix4X4.CreateSkew(0, 0, 1, 0, 0, 0) * point) .ShouldBe(new Point(2, 5, 4)); (Matrix4X4.CreateSkew(0, 0, 0, 1, 0, 0) * point) .ShouldBe(new Point(2, 7, 4)); (Matrix4X4.CreateSkew(0, 0, 0, 0, 1, 0) * point) .ShouldBe(new Point(2, 3, 6)); (Matrix4X4.CreateSkew(0, 0, 0, 0, 0, 1) * point) .ShouldBe(new Point(2, 3, 7)); }