Skip to content

Commit 5086a11

Browse files
committed
Remove unecessary nots
1 parent 1b76b51 commit 5086a11

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

src/DataFrame-Tests/DataFrameTest.class.st

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,36 +1716,34 @@ DataFrameTest >> testIndexOfRowNamedNotFound [
17161716
DataFrameTest >> testInequality [
17171717

17181718
| df1 df2 df3 df4 df5 |
1719-
17201719
"Other data frames will be compared to this one"
1721-
df1 := DataFrame withRows: #((1 2)(3 4)).
1722-
df1 rowNames: #(a b).
1723-
df1 columnNames: #(x y).
1724-
1720+
df1 := DataFrame withRows: #( #( 1 2 ) #( 3 4 ) ).
1721+
df1 rowNames: #( a b ).
1722+
df1 columnNames: #( x y ).
1723+
17251724
"This one has different row names"
1726-
df2 := DataFrame withRows: #((1 2)(3 4)).
1727-
df2 rowNames: #(c b).
1728-
df2 columnNames: #(x y).
1729-
1725+
df2 := DataFrame withRows: #( #( 1 2 ) #( 3 4 ) ).
1726+
df2 rowNames: #( c b ).
1727+
df2 columnNames: #( x y ).
1728+
17301729
"This one has different column names"
1731-
df3 := DataFrame withRows: #((1 2)(3 4)).
1732-
df3 rowNames: #(a b).
1733-
df3 columnNames: #(x z).
1734-
1730+
df3 := DataFrame withRows: #( #( 1 2 ) #( 3 4 ) ).
1731+
df3 rowNames: #( a b ).
1732+
df3 columnNames: #( x z ).
1733+
17351734
"This one has different dimensions"
1736-
df4 := DataFrame withRows: #((1 2)(3 4)(5 6)).
1737-
df4 rowNames: #(a b c).
1738-
df4 columnNames: #(x z).
1739-
1735+
df4 := DataFrame withRows: #( #( 1 2 ) #( 3 4 ) #( 5 6 ) ).
1736+
df4 rowNames: #( a b c ).
1737+
df4 columnNames: #( x z ).
1738+
17401739
"This one has different values"
1741-
df5 := DataFrame withRows: #((1 2)(3 5)).
1742-
df5 rowNames: #(a b).
1743-
df5 columnNames: #(x z).
1744-
1745-
self assert: (df2 = df1) not.
1746-
self assert: (df3 = df1) not.
1747-
self assert: (df4 = df1) not.
1748-
self assert: (df5 = df1) not.
1740+
df5 := DataFrame withRows: #( #( 1 2 ) #( 3 5 ) ).
1741+
df5 rowNames: #( a b ).
1742+
df5 columnNames: #( x z ).
1743+
self deny: df2 = df1.
1744+
self deny: df3 = df1.
1745+
self deny: df4 = df1.
1746+
self deny: df5 = df1
17491747
]
17501748

17511749
{ #category : #splitjoin }

0 commit comments

Comments
 (0)