Skip to content

Commit

Permalink
Unit tests working now
Browse files Browse the repository at this point in the history
  • Loading branch information
voidSevenSevenSix committed Jan 18, 2024
1 parent b4e5ad6 commit a073a64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dependencies {
nativeRelease wpi.java.deps.wpilibJniRelease(wpi.platforms.desktop)
nativeRelease wpi.java.vendor.jniRelease(wpi.platforms.desktop)
simulationRelease wpi.sim.enableRelease()
testImplementation('junit:junit:4.13')
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import static org.junit.Assert.*;
import org.junit.jupiter.api.Test;

import org.junit.*;

import frc.robot.utils.RingBuffer;

import java.util.NoSuchElementException;

public class RingBufferTests {

@Test
void test(){
assert true;
}
@Test
public void populateAndRandomAccess() {
RingBuffer<Integer> buffer = new RingBuffer<>();
Expand Down
10 changes: 0 additions & 10 deletions src/test/java/frc/robot/TestTest.java

This file was deleted.

0 comments on commit a073a64

Please sign in to comment.