Skip to content

Commit

Permalink
Add SrvResEnum.java to gdbigdata-accessmiddleserver
Browse files Browse the repository at this point in the history
  • Loading branch information
826148267 committed Oct 21, 2024
1 parent 42062e9 commit 4aaa77d
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package edu.jnu.service;

import org.springframework.beans.factory.annotation.Autowired;

import java.math.BigInteger;
import java.util.ArrayList;

import static org.junit.jupiter.api.Assertions.*;

class SepdpProofServiceTest {

@org.junit.jupiter.api.Test
void getMList() {
}

@org.junit.jupiter.api.Test
void getSList() {
}

@org.junit.jupiter.api.Test
void getGamma() {
ArrayList<BigInteger> aList = new ArrayList<>();
aList.add(new BigInteger("1"));
aList.add(new BigInteger("1"));
ArrayList<BigInteger> bList = new ArrayList<>();
bList.add(new BigInteger("1"));
bList.add(new BigInteger("0"));
SepdpProofService sepdpProofService = new SepdpProofService();
BigInteger gamma = sepdpProofService.getGamma(aList,bList);

System.out.println(gamma.toString());
}

@org.junit.jupiter.api.Test
void getAlpha() {
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
artifactId=gdbigdata-dupless-ks-server
groupId=edu.jnu
version=1.0-SNAPSHOT

0 comments on commit 4aaa77d

Please sign in to comment.