add: skew column to positions

This commit is contained in:
Wataru Otsubo 2024-09-30 14:39:43 +09:00
parent 066e0d5e46
commit ead17f3d58
4 changed files with 36 additions and 6 deletions

View file

@ -1,6 +1,7 @@
using Test
using PSBoardDataBase
using CSV, DataFrames
using SQLite, DBInterface
using Dates
true || include("../src/PSBoardDataBase.jl")
@ -35,9 +36,20 @@ true || include("../src/PSBoardDataBase.jl")
@info "" db
@test PSBoardDataBase.insert_version_info(db) |> isnothing
let stmt
stmt = DBInterface.prepare(
db,
sql"""
SELECT * FROM versions
""",
)
result = DBInterface.execute(stmt) |> DataFrame
@test nrow(result) |> ==(1)
end
@test PSBoardDataBase.insert_qaqc_campaign_id(db) |> isnothing
@test PSBoardDataBase.insert_qaqc_positions(db) |> isnothing
jathub_list_df = CSV.read("input/PS board QAQC Data Base - JATHub db.csv", DataFrame)
@test PSBoardDataBase.insert_qaqc_positions(db, jathub_list_df) |> isnothing
single_result_df =
CSV.read("input/PS board QAQC Data Base - 本番1回試験・追加検証試験.csv", DataFrame)