File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Test/Notion.IntegrationTests Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,25 @@ private static IEnumerable<object[]> BlockData()
239239 Assert . Equal ( "https://github.com/notion-dotnet/notion-sdk-net" , updatedBlock . Bookmark . Url ) ;
240240 Assert . Equal ( "Github" , updatedBlock . Bookmark . Caption . OfType < RichTextText > ( ) . First ( ) . Text . Content ) ;
241241 } )
242+ } ,
243+ new object [ ] {
244+ new EquationBlock
245+ {
246+ Equation = new EquationBlock . Info
247+ {
248+ Expression = "e=mc^3"
249+ }
250+ } ,
251+ new EquationUpdateBlock {
252+ Equation = new EquationUpdateBlock . Data
253+ {
254+ Expression = "e=mc^2"
255+ }
256+ } ,
257+ new Action < Block > ( ( block ) => {
258+ var updatedBlock = ( EquationBlock ) block ;
259+ Assert . Equal ( "e=mc^2" , updatedBlock . Equation . Expression ) ;
260+ } )
242261 }
243262 } ;
244263 }
You can’t perform that action at this time.
0 commit comments