Skip to content

Commit

Permalink
fix: Drawing shape (68e6d02)
Browse files Browse the repository at this point in the history
  • Loading branch information
mino-alpha authored and tonyqus committed Aug 31, 2023
1 parent 3ad0b6f commit 3417e43
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions testcases/ooxml/XSSF/UserModel/TestXSSFSimpleShape.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,21 +121,21 @@ public void TestXSSFTextParagraph()
shape.BottomInset = (/*setter*/-1);
Assert.AreEqual(3.6, shape.BottomInset, 0.01);

Assert.AreEqual(3.6, shape.LeftInset, 0.01);
Assert.AreEqual(7.2, shape.LeftInset, 0.01);
shape.LeftInset = (/*setter*/12.31);
Assert.AreEqual(12.31, shape.LeftInset, 0.01);
shape.LeftInset = (/*setter*/-1);
Assert.AreEqual(3.6, shape.LeftInset, 0.01);
Assert.AreEqual(7.2, shape.LeftInset, 0.01);
shape.LeftInset = (/*setter*/-1);
Assert.AreEqual(3.6, shape.LeftInset, 0.01);
Assert.AreEqual(7.2, shape.LeftInset, 0.01);

Assert.AreEqual(3.6, shape.RightInset, 0.01);
Assert.AreEqual(7.2, shape.RightInset, 0.01);
shape.RightInset = (/*setter*/13.31);
Assert.AreEqual(13.31, shape.RightInset, 0.01);
shape.RightInset = (/*setter*/-1);
Assert.AreEqual(3.6, shape.RightInset, 0.01);
Assert.AreEqual(7.2, shape.RightInset, 0.01);
shape.RightInset = (/*setter*/-1);
Assert.AreEqual(3.6, shape.RightInset, 0.01);
Assert.AreEqual(7.2, shape.RightInset, 0.01);

Assert.AreEqual(3.6, shape.TopInset, 0.01);
shape.TopInset = (/*setter*/23.31);
Expand Down

0 comments on commit 3417e43

Please sign in to comment.