Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MinOpTest. #5

Merged
merged 1 commit into from
Oct 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions jqi/src/test/java/com/kdbtest/MinOpTest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.kdbtest;
import org.junit.Test;

public class MinOpTest extends OpTest{
@Test public void min0(){check("min 2 5 7 1 3","1\n");}
@Test public void min1(){check("min \"genie\"","\"e\"\n");}
@Test public void min2(){check("min 0N 5 0N 1 3","1\n");}
@Test public void min3(){check("min 0N 0N","0W\n");}
}