• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mattonem / PharoJS / 13784210198

11 Mar 2025 09:06AM UTC coverage: 59.622% (-1.0%) from 60.626%
13784210198

push

github

mattonem
wtf

2 of 2 new or added lines in 1 file covered. (100.0%)

537 existing lines in 12 files now uncovered.

12573 of 21088 relevant lines covered (59.62%)

0.6 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/Pharo/PharoJs-Base-JS-CoreLibraries-Tests/PjRectangleTest.class.st
1
Class {
2
        #name : 'PjRectangleTest',
3
        #superclass : 'PjBridgeTestCase',
4
        #category : 'PharoJs-Base-JS-CoreLibraries-Tests-Objects',
5
        #package : 'PharoJs-Base-JS-CoreLibraries-Tests',
6
        #tag : 'Objects'
7
}
8

9
{ #category : 'tests' }
UNCOV
10
PjRectangleTest >> testCorners [
×
UNCOV
11

×
UNCOV
12
        self assertEquivalent: [
×
UNCOV
13
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) topLeft x ].
×
UNCOV
14
        self assertEquivalent: [
×
UNCOV
15
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) topRight x ].
×
UNCOV
16
        self assertEquivalent: [
×
UNCOV
17
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) bottomLeft x ].
×
UNCOV
18
        self assertEquivalent: [
×
UNCOV
19
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) bottomRight x ].
×
UNCOV
20
        
×
UNCOV
21
        self assertEquivalent: [
×
UNCOV
22
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) topLeft y ].
×
UNCOV
23
        self assertEquivalent: [
×
UNCOV
24
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) topRight y ].
×
UNCOV
25
        self assertEquivalent: [
×
UNCOV
26
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) bottomLeft y ].
×
UNCOV
27
        self assertEquivalent: [
×
UNCOV
28
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) bottomRight y ].
×
UNCOV
29
]
×
30

31
{ #category : 'tests' }
UNCOV
32
PjRectangleTest >> testRectangleOriginConer [
×
UNCOV
33

×
UNCOV
34
        self assertEquivalent: [
×
UNCOV
35
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) center x ].
×
UNCOV
36
        self assertEquivalent: [
×
UNCOV
37
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) center y ]
×
UNCOV
38
]
×
39

40
{ #category : 'tests' }
UNCOV
41
PjRectangleTest >> testRectangleWidthHeight [
×
UNCOV
42

×
UNCOV
43
        self assertEquivalent: [
×
UNCOV
44
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) width ].
×
UNCOV
45
        self assertEquivalent: [
×
UNCOV
46
                (Rectangle origin: 0 @ 10 corner: 20 @ 20) height ]
×
UNCOV
47
]
×
48

49
{ #category : 'tests' }
UNCOV
50
PjRectangleTest >> testtranslateBy [
×
UNCOV
51

×
UNCOV
52
        self assertEquivalent: [
×
UNCOV
53
                ((Rectangle origin: 0 @ 10 corner: 20 @ 20) translateBy: 17 @ 17)
×
UNCOV
54
                        topLeft x ].
×
UNCOV
55
        self assertEquivalent: [
×
UNCOV
56
                ((Rectangle origin: 0 @ 10 corner: 20 @ 20) translateBy: 25 @ 17)
×
UNCOV
57
                        topLeft y ]
×
UNCOV
58
]
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc