diff --git a/app/Main.hs b/app/Main.hs index f1dd5d7bb..862a37efc 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -240,8 +240,6 @@ main = do ( \(SomeNat (_ :: Proxy m), SomeNat (_ :: Proxy b)) -> do let frontendResult@FrontendResult{frDataFlow, frTrace, frPrettyLog} = translate exactFrontendType src - -- FIXME: https://nitta.io/nitta-corp/nitta/-/issues/50 - -- data for sin_ident received = [("u#0", map (\i -> read $ show $ sin ((2 :: Double) * 3.14 * 50 * 0.001 * i)) [0 .. toEnum n])] ioSync = fromJust $ io_sync <|> fromConf toml "ioSync" <|> Just Sync confMa = toml >>= Just . mkMicroarchitecture ioSync diff --git a/test/NITTA/Model/Problems/Refactor/Accum/Tests.hs b/test/NITTA/Model/Problems/Refactor/Accum/Tests.hs index 7bae1c1d9..6739a2add 100644 --- a/test/NITTA/Model/Problems/Refactor/Accum/Tests.hs +++ b/test/NITTA/Model/Problems/Refactor/Accum/Tests.hs @@ -114,8 +114,9 @@ tests = funcRes = acc [Push Plus (I "a"), Push Plus (I "b"), Push Minus (I "c"), Push Minus (I "d"), Pull (O $ S.fromList ["res"])] in [func1, func2, func3] `refactorTo` [funcRes] - -- issue: https://nitta.io/nitta-corp/nitta/-/issues/75 - -- , testCase "Complex items sum refactor" $ let + -- TODO: https://github.com/ryukzak/nitta/issues/264 + -- , testCase "Complex items sum refactor" $ + -- let -- -- Start algorithm: -- -- tmp1, tmp2 = a + b -- -- tmp3, tmp4 = c + d @@ -131,21 +132,21 @@ tests = -- func4 = acc [Push Plus (I "two"), Push Plus (I "tmp2"), Push Plus (I "tmp4"), Pull (O $ S.fromList ["res2"])] -- func5 = acc [Push Plus (I "res1"), Push Plus (I "res2"), Pull (O $ S.fromList ["res"])] - -- funcRes = acc - -- [ Push Plus (I "one") - -- , Push Plus (I "a") - -- , Push Plus (I "b") - -- , Push Plus (I "c") - -- , Push Plus (I "d") - -- , Push Plus (I "two") - -- , Push Plus (I "a") - -- , Push Plus (I "b") - -- , Push Plus (I "c") - -- , Push Plus (I "d") - -- , Pull (O $ S.fromList ["res"])] :: F String Int - -- df = fsToDataFlowGraph ([func1, func2, func3, func4, func5] :: [F String Int]) - -- dfRes = fsToDataFlowGraph ([funcRes] :: [F String Int]) - -- option = head $ refactorOptions df - -- dfRefactored = refactorDecision df option - -- in dfRefactored @?= dfRes + -- funcRes = + -- acc + -- [ Push Plus (I "one") + -- , Push Plus (I "a") + -- , Push Plus (I "b") + -- , Push Plus (I "c") + -- , Push Plus (I "d") + -- , Push Plus (I "two") + -- , Push Plus (I "a") + -- , Push Plus (I "b") + -- , Push Plus (I "c") + -- , Push Plus (I "d") + -- , Pull (O $ S.fromList ["res"]) + -- ] :: + -- F String Int + -- in + -- [func1, func2, func3, func4, func5] `refactorTo` [funcRes] ] diff --git a/test/NITTA/Model/ProcessorUnits/IO/SPI/Tests.hs b/test/NITTA/Model/ProcessorUnits/IO/SPI/Tests.hs index 6899b8638..48ad0c07e 100644 --- a/test/NITTA/Model/ProcessorUnits/IO/SPI/Tests.hs +++ b/test/NITTA/Model/ProcessorUnits/IO/SPI/Tests.hs @@ -31,8 +31,6 @@ import Test.Tasty (TestTree, testGroup) import Test.Tasty.HUnit (testCase) import Test.Tasty.TH --- TODO: https://github.com/ryukzak/nitta/issues/122 - test_multiple_receives = [ testCase "receive two variables" $ void $