Implement Trader V4 training artifact pipeline
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.quantai.trader.config;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.time.Instant;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
class JacksonConfigTest {
|
||||
@Test
|
||||
void createsObjectMapperWithJavaTimeSupport() throws Exception {
|
||||
var mapper = new JacksonConfig().traderObjectMapper();
|
||||
|
||||
Instant value = mapper.readValue("\"2026-06-26T00:00:00Z\"", Instant.class);
|
||||
|
||||
assertThat(value).isEqualTo(Instant.parse("2026-06-26T00:00:00Z"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user