Skip to content

Commit

Permalink
Bump kit version from 1.1.1 to 1.1.2
Browse files Browse the repository at this point in the history
Enhancements:
 - Update leetcode.com code template.
 - Add stopwatch dependency.
  • Loading branch information
silentsoft committed Sep 8, 2021
1 parent fb1fd7d commit 08ba042
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 1.1.2 (8 Sep 2021)

## Enhancements
- Update `leetcode.com` code template.
- Add stopwatch dependency.

# 1.1.1 (6 Sep 2021)

## Enhancements
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Acmicpc Kit

![KitVersion](https://img.shields.io/badge/kit_version-v1.1.1-blue.svg)
![KitVersion](https://img.shields.io/badge/kit_version-v1.1.2-blue.svg)
[![Hits](https://hits.sh/github.com/silentsoft/acmicpc-kit.svg)](https://hits.sh)

> Let's practice algorithms with Acmicpc Kit !
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.silentsoft</groupId>
<artifactId>acmicpc-kit-parent</artifactId>
<version>1.1.1</version>
<version>1.1.2</version>
</parent>
<groupId>org.silentsoft</groupId>
<artifactId>acmicpc-kit</artifactId>
Expand Down
11 changes: 11 additions & 0 deletions templates/leetcode.com/java/SolutionTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.silentsoft.stopwatch.Stopwatch;

class SolutionTest {
@Test
Expand All @@ -8,4 +9,14 @@ public void test() {
//Assertions.assertEquals(/*expected*/, /*actual*/);
//Assertions.assertArrayEquals(/*expected*/, /*actual*/);
}

@Test
public void speedTest() {
Solution solution = new Solution();
Stopwatch stopwatch = new Stopwatch();
stopwatch.start("speed test", () -> {
//
});
stopwatch.print();
}
}

0 comments on commit 08ba042

Please sign in to comment.