Skip to content

Commit 603db53

Browse files
authored
Updated readme
1 parent b324331 commit 603db53

File tree

36 files changed

+55
-45
lines changed

36 files changed

+55
-45
lines changed

LeetCodeNet.Tests/G0001_0100/S0001_two_sum/SolutionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
namespace LeetCodeNet.G0001_0100.S0001_two_sum {
2-
using System;
2+
33
using Xunit;
44

55
public class SolutionTest {

LeetCodeNet.Tests/G0001_0100/S0003_longest_substring_without_repeating_characters/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0003_longest_substring_without_repeating_characters {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]

LeetCodeNet.Tests/G0001_0100/S0004_median_of_two_sorted_arrays/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0004_median_of_two_sorted_arrays {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]

LeetCodeNet.Tests/G0001_0100/S0005_longest_palindromic_substring/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0005_longest_palindromic_substring {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]

LeetCodeNet.Tests/G0001_0100/S0006_zigzag_conversion/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0006_zigzag_conversion {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]

LeetCodeNet.Tests/G0001_0100/S0007_reverse_integer/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0007_reverse_integer {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]

LeetCodeNet.Tests/G0001_0100/S0008_string_to_integer_atoi/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace LeetCodeNet.G0001_0100.S0008_string_to_integer_atoi {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
namespace LeetCodeNet.G0001_0100.S0009_palindrome_number {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]
87
public void IsPalindrome() {
9-
Assert.Equal(true, new Solution().IsPalindrome(121));
8+
Assert.True(new Solution().IsPalindrome(121));
109
}
1110

1211
[Fact]
1312
public void IsPalindrome2() {
14-
Assert.Equal(false, new Solution().IsPalindrome(-121));
13+
Assert.False(new Solution().IsPalindrome(-121));
1514
}
1615

1716
[Fact]
1817
public void IsPalindrome3() {
19-
Assert.Equal(false, new Solution().IsPalindrome(10));
18+
Assert.False(new Solution().IsPalindrome(10));
2019
}
2120
}
2221
}
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
namespace LeetCodeNet.G0001_0100.S0010_regular_expression_matching {
22

33
using Xunit;
4-
using System;
54

65
public class SolutionTest {
76
[Fact]
87
public void IsMatch() {
9-
Assert.Equal(false, new Solution().IsMatch("aa", "a"));
8+
Assert.False(new Solution().IsMatch("aa", "a"));
109
}
1110

1211
[Fact]
1312
public void IsMatch2() {
14-
Assert.Equal(true, new Solution().IsMatch("aa", "a*"));
13+
Assert.True(new Solution().IsMatch("aa", "a*"));
1514
}
1615

1716
[Fact]
1817
public void IsMatch3() {
19-
Assert.Equal(true, new Solution().IsMatch("ab", ".*"));
18+
Assert.True(new Solution().IsMatch("ab", ".*"));
2019
}
2120

2221
[Fact]
2322
public void IsMatch4() {
24-
Assert.Equal(true, new Solution().IsMatch("aab", "c*a*b"));
23+
Assert.True(new Solution().IsMatch("aab", "c*a*b"));
2524
}
2625

2726
[Fact]
2827
public void IsMatch5() {
29-
Assert.Equal(false, new Solution().IsMatch("mississippi", "mis*is*p*."));
28+
Assert.False(new Solution().IsMatch("mississippi", "mis*is*p*."));
3029
}
3130
}
3231
}

LeetCodeNet.Tests/G0001_0100/S0048_rotate_image/SolutionTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
namespace LeetCodeNet.G0001_0100.S0048_rotate_image {
22

3-
using System;
43
using Xunit;
54

65
public class SolutionTest {

0 commit comments

Comments
 (0)