|
|
@@ -1,14 +1,9 @@
|
|
|
package com.tzld.piaoquan.recommend.server.service;
|
|
|
|
|
|
-import com.google.common.collect.ImmutableMap;
|
|
|
-import com.tzld.piaoquan.recommend.feature.model.feature.FeatureKeyProto;
|
|
|
import org.junit.jupiter.api.Test;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.List;
|
|
|
-
|
|
|
@SpringBootTest
|
|
|
public class FeatureServiceTest {
|
|
|
|
|
|
@@ -18,10 +13,10 @@ public class FeatureServiceTest {
|
|
|
@Test
|
|
|
public void featureV3OptimizeTest() {
|
|
|
|
|
|
- List<FeatureKeyProto> protos = new ArrayList<>();
|
|
|
- protos.add(featureService.genWithKeyMap("alg_videoid_feature", "10035427", ImmutableMap.of("videoid", "68781839")));
|
|
|
-
|
|
|
- System.out.println(featureService.getFeatureByProto(protos));
|
|
|
+ // List<FeatureKeyProto> protos = new ArrayList<>();
|
|
|
+ // protos.add(featureService.genWithKeyMap("alg_videoid_feature", "10035427", ImmutableMap.of("videoid", "68781839")));
|
|
|
+ //
|
|
|
+ // System.out.println(featureService.getFeatureByProto(protos));
|
|
|
}
|
|
|
|
|
|
}
|