From 7ec9326ce00d08f9d957981f2edff6df26f24a28 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 26 九月 2024 13:25:02 +0800
Subject: [PATCH] 修改

---
 web/public/SVGOrigin/Method-Draw-master/test/math_test.html |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/web/public/SVGOrigin/Method-Draw-master/test/math_test.html b/web/public/SVGOrigin/Method-Draw-master/test/math_test.html
index 60bad07..4008290 100644
--- a/web/public/SVGOrigin/Method-Draw-master/test/math_test.html
+++ b/web/public/SVGOrigin/Method-Draw-master/test/math_test.html
@@ -21,7 +21,7 @@
 
 	test('Test svgedit.math package', function() {
 		expect(7);
-		
+
 		ok(svgedit.math);
 		ok(svgedit.math.transformPoint);
 		ok(svgedit.math.isIdentity);
@@ -42,19 +42,19 @@
 		var pt = transformPoint(100, 200, m);
 		equals(pt.x, 100);
 		equals(pt.y, 200);
-		
+
 		m.e = 300; m.f = 400;
 		pt = transformPoint(100, 200, m);
 		equals(pt.x, 400);
 		equals(pt.y, 600);
-		
+
 		m.a = 0.5; m.b = 0.75;
 		m.c = 1.25; m.d = 2;
 		pt = transformPoint(100, 200, m);
 		equals(pt.x, 100 * m.a + 200 * m.c + m.e);
 		equals(pt.y, 100 * m.b + 200 * m.d + m.f);
 	});
-	
+
 	test('Test svgedit.math.isIdentity() function', function() {
 		expect(2);
 
@@ -95,20 +95,20 @@
 		I = mult(scale_up, scale_down, scale_down_more);
 		ok(isIdentity(I), 'Expected identity matrix when scaling up and down');
 
-		// test multiplication with its inverse 
+		// test multiplication with its inverse
 		I = mult(rot_there, rot_there.inverse());
 		ok(isIdentity(I), 'Expected identity matrix when multiplying a matrix by its inverse');
 		I = mult(rot_there.inverse(), rot_there);
 		ok(isIdentity(I), 'Expected identity matrix when multiplying a matrix by its inverse');
 	});
-  }); 
-  </script>  
-</head>  
-<body>  
+  });
+  </script>
+</head>
+<body>
   <h1 id='qunit-header'>Unit Tests for math.js</h1>
   <h2 id='qunit-banner'></h2>
   <h2 id='qunit-userAgent'></h2>
   <ol id='qunit-tests'>
   </ol>
-</body>  
+</body>
 </html>

--
Gitblit v1.9.1