-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luke Sikina
committed
Mar 27, 2024
1 parent
6df032b
commit 0d37fed
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
data/src/test/java/edu/harvard/hms/dbmi/avillach/hpds/data/phenotype/PhenoCubeTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package edu.harvard.hms.dbmi.avillach.hpds.data.phenotype; | ||
|
||
import org.junit.Test; | ||
|
||
import java.util.List; | ||
|
||
import static org.junit.Assert.*; | ||
|
||
public class PhenoCubeTest { | ||
|
||
@Test | ||
public void killme() { | ||
KeyAndValue[] kill = { | ||
new KeyAndValue<>(133400068, "A01.00 Typhoid fever, unspecified")}; | ||
|
||
PhenoCube<?> subject = new PhenoCube<>("bob", KeyAndValue.class); | ||
subject.setSortedByKey(kill); | ||
|
||
subject.getValuesForKeys(List.of(133400068)); | ||
} | ||
} |